OWL ITS + 탐지시스템(인터넷 진흥원)
src/main/resources/mybatis/query-template/issue-template.xml
@@ -139,7 +139,7 @@
        </if>
        <if test="combinationIssueNumber == null or combinationIssueNumber.equals('')">
            <if test="hideDownIssue != null and hideDownIssue == true">
            <if test="hideDownIssue != null and hideDownIssue == true and parentYN == true">
                AND issue.parent_issue_id IS NULL
            </if>
        </if>
@@ -148,8 +148,12 @@
            AND issue_status.issue_status_type != 'CLOSE'
        </if>
        <if test="parentYN != null and parentYN == true">
        <if test="parentYN != null and parentYN == true and hideDownIssue == true">
            AND issue.parent_issue_id IS NULL
        </if>
        <if test="hideDownIssue == false and parentYN == false">
            AND issue.parent_issue_id IS NOT NULL
        </if>
        <choose>
@@ -360,11 +364,15 @@
        </if>
        <if test="combinationIssueNumber == null or combinationIssueNumber.equals('')">
            <if test="hideDownIssue != null and hideDownIssue == true">
            <if test="hideDownIssue != null and hideDownIssue == true and parentYN == true">
                AND issue.parent_issue_id IS NULL
            </if>
        </if>
        <if test="hideDownIssue == false and parentYN == false">
            AND issue.parent_issue_id IS NOT NULL
        </if>
        <if test="hideCompleteIssue != null and hideCompleteIssue == true">
            AND issue_status.issue_status_type != 'CLOSE'
        </if>