2 Commits 64805e27bc ... 60c71a35ff

Author SHA1 Message Date
  SBK 60c71a35ff Merge branch 'master' of http://211.38.140.247:3000/sgc/sgc-portal 1 year ago
  SBK 581290a65f 리스크점검사유등록 쿼리 수정 1 year ago
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/main/resources/sqlmap/mappers/co/co0102/CO01020001UMapper.xml

+ 3 - 2
src/main/resources/sqlmap/mappers/co/co0102/CO01020001UMapper.xml

@@ -136,14 +136,15 @@
 						</if>
 					</if>
 				)
-		 WHERE
+		<where>
 		<if test="gubun == 'all'">										
 		   AND (NON_CTMN <![CDATA[>=]]> #{unit}
 		      OR NON_PYRQ <![CDATA[>=]]> #{unit} ) 
 		</if>		 
 		<if test="resnYn != '' and resnYn != null">
 		   AND (NVL(NPYRQ_RSN,'Y') = (CASE WHEN NON_PYRQ != 0 THEN 'Y' ELSE 'N' END) OR NVL(RCAMT_RSN,'Y') = (CASE WHEN NON_CTMN != 0 THEN 'Y' ELSE 'N' END))
-		</if>		
+		</if>
+		</where>	
 		 ORDER BY CCGRP_CD, CC_CD
 	</select>