From 58f7308d634e99bf7cf4a88bef75a97c7325454f Mon Sep 17 00:00:00 2001 From: minhee <alsdldlfrl@gmail.com> Date: 월, 21 2월 2022 11:10:29 +0900 Subject: [PATCH] - 각종 메일 메일 주소 안썼을 경우 테스트(메일주소 없을 경우 예외처리) --- src/main/resources/mybatis/query-template/issue-template.xml | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mybatis/query-template/issue-template.xml b/src/main/resources/mybatis/query-template/issue-template.xml index d220849..96b5c07 100644 --- a/src/main/resources/mybatis/query-template/issue-template.xml +++ b/src/main/resources/mybatis/query-template/issue-template.xml @@ -22,6 +22,7 @@ project.project_key as projectKey, issue_type.id as issueTypeId, issue_type.name as issueTypeName, + issue_type.inherit_partners as inheritPartners, issue_status.id as issueStatusId, issue_status.issue_status_type as issueStatusType, issue_status.name as issueStatusName, @@ -35,6 +36,7 @@ ic.name AS companyName, ii.name AS ispName, ih.name AS hostingName, + d.department_name AS departmentName, GROUP_CONCAT(issue_custom.use_value) AS useValue, IFNULL(temp_attached_file.attachedFileCount, 0) as attachedFileCount, IFNULL(temp_issue_comment.issueCommentCount, 0) as issueCommentCount @@ -130,6 +132,10 @@ <if test="endCompleteDate != null and !endCompleteDate.equals('')"> ANd issue.complete_date <![CDATA[ <= ]]> #{endCompleteDate} + </if> + + <if test="beginDateRange != null and !beginDateRange.equals('') and endDateRange != null and !endDateRange.equals('')"> + AND (issue.start_date BETWEEN #{beginDateRange} AND #{endDateRange} OR issue.complete_date BETWEEN #{beginDateRange} AND #{endDateRange}) </if> <if test="combinationIssueNumber == null or combinationIssueNumber.equals('')"> @@ -349,6 +355,10 @@ ANd issue.complete_date <![CDATA[ <= ]]> #{endCompleteDate} </if> + <if test="beginDateRange != null and !beginDateRange.equals('') and endDateRange != null and !endDateRange.equals('')"> + AND (issue.start_date BETWEEN #{beginDateRange} AND #{endDateRange} OR issue.complete_date BETWEEN #{beginDateRange} AND #{endDateRange}) + </if> + <if test="combinationIssueNumber == null or combinationIssueNumber.equals('')"> <if test="hideDownIssue != null and hideDownIssue == true"> AND issue.parent_issue_id IS NULL -- Gitblit v1.8.0