@@ -136,14 +136,15 @@
</if>
)
- WHERE
+ <where>
<if test="gubun == 'all'">
AND (NON_CTMN <![CDATA[>=]]> #{unit}
OR NON_PYRQ <![CDATA[>=]]> #{unit} )
<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>