| | |
| | | ANd issue.complete_date <![CDATA[ <= ]]> #{endCompleteDate} |
| | | </if> |
| | | |
| | | <if test="hideIssue != null and hideIssue == true"> |
| | | AND issue_status.issue_status_type != 'CLOSE' |
| | | </if> |
| | | |
| | | <choose> |
| | | <when test="projectIds.size != 0"> |
| | | AND project.id IN |
| | |
| | | </when> |
| | | </choose> |
| | | AND issue.parent_issue_id IS NULL |
| | | AND issue_status.issue_status_type != 'CLOSE' |
| | | AND issue.reverse_index <![CDATA[ < ]]> 0 |
| | | AND workspace.id = #{workspaceId} |
| | | GROUP BY issue.id |
| | |
| | | ANd issue.complete_date <![CDATA[ <= ]]> #{endCompleteDate} |
| | | </if> |
| | | |
| | | <if test="hideIssue != null and hideIssue == true"> |
| | | AND issue_status.issue_status_type != 'CLOSE' |
| | | </if> |
| | | |
| | | <choose> |
| | | <when test="myDepartmentIds.size != 0"> |
| | | AND isd.department_id IN |
| | |
| | | </when> |
| | | </choose> |
| | | AND issue.parent_issue_id IS NULL |
| | | AND issue_status.issue_status_type != 'CLOSE' |
| | | AND issue.reverse_index <![CDATA[ < ]]> 0 |
| | | AND workspace.id = #{workspaceId} |
| | | GROUP BY issue.id |
| | |
| | | LEFT OUTER JOIN issue_status iss ON iss.id = issue.issue_status_id |
| | | WHERE 1=1 |
| | | AND issue.parent_issue_id IS NULL |
| | | AND iss.issue_status_type != 'CLOSE' |
| | | <if test="title != null and !title.equals('') "> |
| | | AND issue.title like CONCAT('%',#{title},'%') |
| | | </if> |
| | |
| | | |
| | | <if test="endCompleteDate != null and !endCompleteDate.equals('')"> |
| | | ANd issue.complete_date <![CDATA[ <= ]]> #{endCompleteDate} |
| | | </if> |
| | | |
| | | <if test="hideIssue != null and hideIssue == true"> |
| | | AND iss.issue_status_type != 'CLOSE' |
| | | </if> |
| | | |
| | | <choose> |
| | |
| | | LEFT OUTER JOIN issue_status iss ON iss.id = issue.issue_status_id |
| | | WHERE 1=1 |
| | | AND issue.parent_issue_id IS NULL |
| | | AND iss.issue_status_type != 'CLOSE' |
| | | <if test="title != null and !title.equals('') "> |
| | | AND issue.title like CONCAT('%',#{title},'%') |
| | | </if> |
| | |
| | | |
| | | <if test="endCompleteDate != null and !endCompleteDate.equals('')"> |
| | | ANd issue.complete_date <![CDATA[ <= ]]> #{endCompleteDate} |
| | | </if> |
| | | |
| | | <if test="hideIssue != null and hideIssue == true"> |
| | | AND iss.issue_status_type != 'CLOSE' |
| | | </if> |
| | | |
| | | <choose> |
| | |
| | | </choose> |
| | | </select> |
| | | |
| | | <!-- 종료 안된 하위 이슈 가져오기 --> |
| | | <select id="findNotCompleteByParentIssueId" resultType="java.util.HashMap" parameterType="java.lang.Long"> |
| | | SELECT |
| | | iss.id as id |
| | | FROM issue iss |
| | | INNER JOIN issue_status issueStatus on iss.issue_status_id = issueStatus.id |
| | | WHERE iss.parent_issue_id = #{parentIssueId} |
| | | AND issueStatus.issue_status_type != 'CLOSE' |
| | | </select> |
| | | </mapper> |