From 2c273d1072424a9363314fb258265cbf487f0297 Mon Sep 17 00:00:00 2001
From: 이민희 <mhlee@maprex.co.kr>
Date: 목, 16 12월 2021 17:48:46 +0900
Subject: [PATCH] - Excel Import 기능 담당부서도 들어가게 하기(기간 미지정 시에도 가능하도록 수정) - 이슈 통합검색 키워드에 업체,ISP,호스팅 정보도 포함 - 프로젝트에서 설정한 이슈유형만 보여주기

---
 src/main/resources/mybatis/query-template/issueDepartment-template.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/mybatis/query-template/issueDepartment-template.xml b/src/main/resources/mybatis/query-template/issueDepartment-template.xml
index 2aa9432..0f0fe20 100644
--- a/src/main/resources/mybatis/query-template/issueDepartment-template.xml
+++ b/src/main/resources/mybatis/query-template/issueDepartment-template.xml
@@ -17,7 +17,7 @@
     <!--    �씠�뒋 �떞�떦遺��꽌 bulk �궘�젣 - modify, add �뿉�꽌 �궗�슜  -->
     <delete id="deleteIssueDepartmentByIssueIdAndMultiDepartmentId" parameterType="java.util.HashMap">
         DELETE FROM issue_department WHERE issue_id = #{issueId} AND department_id IN (
-        <foreach collection="map.departmentIds" item="item" index="index" separator="," open="" close="">
+        <foreach collection="departmentIds" item="item" index="index" separator="," open="" close="">
             #{item}
         </foreach>
         )
@@ -34,8 +34,8 @@
     <!--    �씠�뒋 �떞�떦遺��꽌瑜� 議고쉶�븳�떎 -->
     <select id="findByDepartmentIdAndProjectId" resultType="java.util.HashMap" parameterType="java.util.HashMap">
         SELECT DISTINCT(i.id) FROM issue i
-                                       INNER JOIN issue_department iu ON iu.issue_id = i.id
-                                       INNER JOIN department d ON d.id = iu.department_id
+           INNER JOIN issue_department iu ON iu.issue_id = i.id
+           INNER JOIN department d ON d.id = iu.department_id
         WHERE i.project_id = #{projectId} AND d.id = #{departmentId}
     </select>
 

--
Gitblit v1.8.0