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/userWorkspace-template.xml |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/src/main/resources/mybatis/query-template/userWorkspace-template.xml b/src/main/resources/mybatis/query-template/userWorkspace-template.xml
index ffaeea5..e62cbbc 100644
--- a/src/main/resources/mybatis/query-template/userWorkspace-template.xml
+++ b/src/main/resources/mybatis/query-template/userWorkspace-template.xml
@@ -10,7 +10,6 @@
         u.name as userName,
         u.account as account,
         u.level_id as levelId,
-        u.department_id as departmentId,
         CASE WHEN uw.use_yn = 'Y' THEN 'true' ELSE 'false' END as useYn
         FROM
         user_workspace uw
@@ -44,16 +43,6 @@
                 </foreach>
             </when>
         </choose>
-
-        <choose>
-            <when test="departmentIds.size != 0">
-                AND u.department_id IN
-                <foreach collection="departmentIds" item="item" index="index" separator="," open="(" close=")">
-                    #{item}
-                </foreach>
-            </when>
-        </choose>
-
         limit #{pageSize} offset #{page};
     </select>
 

--
Gitblit v1.8.0