OWL ITS + 탐지시스템(인터넷 진흥원)
이민희
2021-11-24 b7dfb19b01f66a450126debb0590d20f2f71f2cc
src/main/resources/mybatis/query-template/issue-template.xml
@@ -31,7 +31,7 @@
        severity.id as severityId,
        severity.name as severityName,
        severity.color as severityColor,
        issue_custom.use_value AS useValue,
        GROUP_CONCAT(issue_custom.use_value) AS useValue,
        IFNULL(temp_attached_file.attachedFileCount, 0) as attachedFileCount,
        IFNULL(temp_issue_comment.issueCommentCount, 0) as issueCommentCount
        FROM issue issue FORCE INDEX(reverseIndex)
@@ -189,6 +189,7 @@
        </choose>
        AND issue.reverse_index <![CDATA[ < ]]> 0
        AND workspace.id = #{workspaceId}
        GROUP BY issue.id
        ORDER BY issue.register_date DESC
        <if test="page != null and !page.equals('')">
            limit #{pageSize} offset #{page};