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

diff --git a/src/main/resources/mybatis/query-template/project-template.xml b/src/main/resources/mybatis/query-template/project-template.xml
index e2d6b13..f5054ef 100644
--- a/src/main/resources/mybatis/query-template/project-template.xml
+++ b/src/main/resources/mybatis/query-template/project-template.xml
@@ -88,6 +88,9 @@
                     #{item}
                 </foreach>
             </when>
+            <otherwise>
+                AND 1 != 1
+            </otherwise>
         </choose>
 
         <choose>
@@ -190,6 +193,9 @@
                     #{item}
                 </foreach>
             </when>
+            <otherwise>
+                AND 1 != 1
+            </otherwise>
         </choose>
 
         <choose>

--
Gitblit v1.8.0