From f1193f1f75c7ac1f5f2df2a05a0a2bbefdac50ae Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 월, 13 12월 2021 13:06:52 +0900 Subject: [PATCH] 이슈 조회 쿼리(find) 한개로 합침 --- src/main/resources/mybatis/query-template/issueDepartment-template.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mybatis/query-template/issueDepartment-template.xml b/src/main/resources/mybatis/query-template/issueDepartment-template.xml index 93b35c7..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> ) -- Gitblit v1.8.0