문자열null체크 수정

dev
이범준 4 months ago
parent 3deb4216d3
commit a430fd539c

@ -56,7 +56,7 @@ SELECT A.*
<where> <where>
<if test="infoType != null"> AND A.INF_TYPE = #{infoType}</if> <if test="infoType != null"> AND A.INF_TYPE = #{infoType}</if>
<if test="infoKeys != null"> AND INF_KEY IN (<foreach collection="infoKeys" item="infoKey" separator=",">#{infoKey}</foreach>)</if> <if test="infoKeys != null"> AND INF_KEY IN (<foreach collection="infoKeys" item="infoKey" separator=",">#{infoKey}</foreach>)</if>
<if test="by != null and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
AND ${by} = #{term} AND ${by} = #{term}
</if> </if>
AND USE_YN = 'Y' AND USE_YN = 'Y'

Loading…
Cancel
Save