문자열 null 체크 수정

main
이범준 4 months ago
parent b1ec36b9f5
commit dec72a3cf8

@ -17,8 +17,12 @@ SELECT A.GRP_ID
, A.REG_DT , A.REG_DT
FROM TB_ACTION_GRP A FROM TB_ACTION_GRP A
<where> <where>
<if test="groupIDs != null">AND GRP_ID IN (<foreach collection="groupIDs" item="groupID" separator=",">#{groupID}</foreach>)</if> <if test="groupIDs != null">
<if test="by != null and term != null">AND ${by} LIKE CONCAT('%', #{term}, '%')</if> AND GRP_ID IN (<foreach collection="groupIDs" item="groupID" separator=",">#{groupID}</foreach>)
</if>
<if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
AND ${by} LIKE CONCAT('%', #{term}, '%')
</if>
</where> </where>
<include refid="utility.paging-suffix" /> <include refid="utility.paging-suffix" />
</sql> </sql>

@ -53,8 +53,12 @@ SELECT *
FROM TB_AUTHORITY FROM TB_AUTHORITY
) A ) A
<where> <where>
<if test="authIDs != null">AND AUTH_ID IN (<foreach collection="authIDs" item="authID" separator=",">#{authID}</foreach>)</if> <if test="authIDs != null">
<if test="by != null and term != null">AND ${by} LIKE CONCAT('%', #{term}, '%')</if> AND AUTH_ID IN (<foreach collection="authIDs" item="authID" separator=",">#{authID}</foreach>)
</if>
<if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
AND ${by} LIKE CONCAT('%', #{term}, '%')
</if>
</where> </where>
<include refid="utility.orderBy"/> <include refid="utility.orderBy"/>
<include refid="utility.paging-suffix" /> <include refid="utility.paging-suffix" />

@ -37,7 +37,10 @@
<select id="selectDepartmentList" parameterType="map" resultType="dataobject">/* 부서 정보 목록 조회(departmentMapper.selectDepartmentList) */ <select id="selectDepartmentList" parameterType="map" resultType="dataobject">/* 부서 정보 목록 조회(departmentMapper.selectDepartmentList) */
<include refid="utility.paging-prefix" /> <include refid="utility.paging-prefix" />
<include refid="select" /> <include refid="select" />
<where><if test="by != null and term != null"> AND ${by} LIKE CONCAT('%', #{term}, '%')</if> <where>
<if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
AND ${by} LIKE CONCAT('%', #{term}, '%')
</if>
<if test="sggID != null"> AND SGG_CD = #{sggID}</if> <if test="sggID != null"> AND SGG_CD = #{sggID}</if>
<if test="instCode != null"> AND INST_CD = #{instCode}</if> <if test="instCode != null"> AND INST_CD = #{instCode}</if>
<if test="deptIDs != null"> AND DEPT_CD IN (<foreach collection="deptIDs" item="deptID" separator=",">#{deptID}</foreach>)</if> <if test="deptIDs != null"> AND DEPT_CD IN (<foreach collection="deptIDs" item="deptID" separator=",">#{deptID}</foreach>)</if>

@ -32,6 +32,7 @@ SELECT INF_TYPE
SELECT '100' INF_TYPE, 'attachment/violation' DIR UNION <!-- 단속 정보 --> SELECT '100' INF_TYPE, 'attachment/violation' DIR UNION <!-- 단속 정보 -->
SELECT '110' INF_TYPE, 'attachment/opinion' DIR UNION <!-- 의견 진술 --> SELECT '110' INF_TYPE, 'attachment/opinion' DIR UNION <!-- 의견 진술 -->
SELECT '120' INF_TYPE, 'attachment/rent' DIR UNION <!-- 렌트카 첨부파일 -->
SELECT '190' INF_TYPE, 'attachment/capture' DIR <!-- 캡쳐용 동영상 --> SELECT '190' INF_TYPE, 'attachment/capture' DIR <!-- 캡쳐용 동영상 -->
) FILE_DIRS ) FILE_DIRS
</sql> </sql>

@ -45,7 +45,10 @@
<select id="selectSigunguList" parameterType="map" resultType="dataobject">/* 시군구 목록 조회(sigunguMapper.selectSigunguList) */ <select id="selectSigunguList" parameterType="map" resultType="dataobject">/* 시군구 목록 조회(sigunguMapper.selectSigunguList) */
<include refid="utility.paging-prefix" /> <include refid="utility.paging-prefix" />
<include refid="select" /> <include refid="select" />
<where><if test="by != null and term != null"> AND ${by} LIKE CONCAT('%', #{term}, '%')</if> <where>
<if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
AND ${by} LIKE CONCAT('%', #{term}, '%')
</if>
<if test="sggIDs != null"> AND SGG_CD IN (<foreach collection="sggIDs" item="sggID" separator=",">#{sggID}</foreach>)</if> <if test="sggIDs != null"> AND SGG_CD IN (<foreach collection="sggIDs" item="sggID" separator=",">#{sggID}</foreach>)</if>
<if test="instCodes != null"> AND INST_CD IN (<foreach collection="instCodes" item="instCode" separator=",">#{instCode}</foreach>)</if> <if test="instCodes != null"> AND INST_CD IN (<foreach collection="instCodes" item="instCode" separator=",">#{instCode}</foreach>)</if>
<if test="!includeAll">AND USE_YN = 'Y'</if></where> <if test="!includeAll">AND USE_YN = 'Y'</if></where>
@ -54,7 +57,10 @@
<select id="selectSigungus" parameterType="map" resultMap="sggRow">/* 시군구 객체 가져오기(sigunguMapper.selectSigungus) */ <select id="selectSigungus" parameterType="map" resultMap="sggRow">/* 시군구 객체 가져오기(sigunguMapper.selectSigungus) */
<include refid="select" /> <include refid="select" />
<where><if test="by != null and term != null"> AND ${by} LIKE CONCAT('%', #{term}, '%')</if> <where>
<if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
AND ${by} LIKE CONCAT('%', #{term}, '%')
</if>
<if test="sggIDs != null">AND SGG_CD IN (<foreach collection="sggIDs" item="sggID" separator=",">#{sggID}</foreach>)</if> <if test="sggIDs != null">AND SGG_CD IN (<foreach collection="sggIDs" item="sggID" separator=",">#{sggID}</foreach>)</if>
<if test="instCodes != null">AND INST_CD IN (<foreach collection="instCodes" item="instCode" separator=",">#{instCode}</foreach>)</if> <if test="instCodes != null">AND INST_CD IN (<foreach collection="instCodes" item="instCode" separator=",">#{instCode}</foreach>)</if>
<if test="!includeAll"> AND USE_YN = 'Y'</if></where> <if test="!includeAll"> AND USE_YN = 'Y'</if></where>

@ -80,7 +80,7 @@ SELECT A.USER_ID
<include refid="cokr.xit.base.user.dao.DepartmentMapper.adminSggDept" /> <include refid="cokr.xit.base.user.dao.DepartmentMapper.adminSggDept" />
) B ON A.NSTT_CD = B.INST_CD AND A.DEPT_CD = B.DEPT_CD ) B ON A.NSTT_CD = B.INST_CD AND A.DEPT_CD = B.DEPT_CD
<where> <where>
<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)">
<choose> <choose>
<when test="by == 'userAccount'"> <when test="by == 'userAccount'">
AND ${by} LIKE CONCAT('%', UPPER(#{term}), '%') AND ${by} LIKE CONCAT('%', UPPER(#{term}), '%')
@ -93,10 +93,10 @@ SELECT A.USER_ID
<if test="userIDs != null"> <if test="userIDs != null">
USER_ID IN (<foreach collection="userIDs" item="userID" separator=",">#{userID}</foreach>) USER_ID IN (<foreach collection="userIDs" item="userID" separator=",">#{userID}</foreach>)
</if> </if>
<if test="@org.egovframe.rte.fdl.string.EgovStringUtil@null2void(status) != ''"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(status)">
AND STTS = #{status} AND STTS = #{status}
</if> </if>
<if test="@org.egovframe.rte.fdl.string.EgovStringUtil@null2void(type) != ''"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(type)">
AND CNTN_SE_CD = #{type} AND CNTN_SE_CD = #{type}
</if> </if>
</where> </where>

@ -162,7 +162,7 @@ AND CA.TOWNG_YN = #{towngYn}
AND C.NXRP_CRDN_LINK_YN = 'N' AND (C.ATCH_FILE_CNT = 0 OR C.ATCH_FILE_CNT IS NULL) AND C.NXRP_CRDN_LINK_YN = 'N' AND (C.ATCH_FILE_CNT = 0 OR C.ATCH_FILE_CNT IS NULL)
</if> </if>
</if> </if>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />
@ -278,7 +278,7 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
<if test="schRgtrCd != null"> AND C.MDFR = #{schRgtrCd} </if> <if test="schRgtrCd != null"> AND C.MDFR = #{schRgtrCd} </if>
</if> </if>
</if> </if>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />
@ -348,7 +348,7 @@ SELECT GROUP_CONCAT(C.CRDN_ID) AS CRDN_ID_LIST <!-- 단속 ID -->
<if test="crdnInptSeCd != null">AND C.CRDN_INPT_SE_CD = #{crdnInptSeCd}</if> <if test="crdnInptSeCd != null">AND C.CRDN_INPT_SE_CD = #{crdnInptSeCd}</if>
<if test="vhrno != null">AND C.VHRNO = #{vhrno}</if> <if test="vhrno != null">AND C.VHRNO = #{vhrno}</if>
<if test="schExclEnd == 'on'">AND C.CRDN_STTS_CD != '81'</if> <if test="schExclEnd == 'on'">AND C.CRDN_STTS_CD != '81'</if>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />
@ -451,7 +451,7 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
AND C.TASK_SE_CD = 'DPV' AND C.TASK_SE_CD = 'DPV'
AND CA.PRK_PSBLTY_RSLT_CD = '0' AND CA.PRK_PSBLTY_RSLT_CD = '0'
AND C.CRDN_STTS_CD = '21' AND C.CRDN_STTS_CD = '21'
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />

@ -188,7 +188,7 @@ WHERE C.DEL_YN = 'N'
<if test="schRegDateTo != null">AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schRegDateTo} </if> <if test="schRegDateTo != null">AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schRegDateTo} </if>
</if> </if>
</if> </if>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />
@ -273,7 +273,7 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
<if test="schRegDateTo != null">AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schRegDateTo} </if> <if test="schRegDateTo != null">AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schRegDateTo} </if>
</if> </if>
</if> </if>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />
@ -472,7 +472,7 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
<if test="schRegDateTo != null">AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schRegDateTo} </if> <if test="schRegDateTo != null">AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schRegDateTo} </if>
</if> </if>
</if> </if>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />

@ -88,7 +88,7 @@
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />

@ -185,7 +185,7 @@
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />

@ -100,7 +100,7 @@
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />
@ -201,7 +201,7 @@
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />

@ -147,7 +147,7 @@
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />

@ -161,7 +161,7 @@
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />

@ -197,7 +197,7 @@
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />

@ -250,7 +250,7 @@
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />
@ -526,7 +526,7 @@
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />

@ -159,7 +159,7 @@
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />

@ -50,7 +50,7 @@ SELECT A.NTC_ID <!-- 공지 ID -->
<if test="sggCd != null and sggCd != ''"> <if test="sggCd != null and sggCd != ''">
AND (A.SGG_CD = #{sggCd} OR A.SGG_CD = '' OR A.SGG_CD IS NULL) AND (A.SGG_CD = #{sggCd} OR A.SGG_CD = '' OR A.SGG_CD IS NULL)
</if> </if>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
AND A.${by} LIKE CONCAT('%',#{term},'%') AND A.${by} LIKE CONCAT('%',#{term},'%')
</if> </if>
<include refid="utility.orderBy" /> <include refid="utility.orderBy" />

@ -214,7 +214,7 @@
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />

@ -146,7 +146,7 @@
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />
@ -354,7 +354,7 @@
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />
@ -574,7 +574,7 @@
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />

@ -908,7 +908,7 @@
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />

@ -99,7 +99,7 @@
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />

@ -285,7 +285,7 @@ LEFT OUTER JOIN TB_LEVY L ON (C.CRDN_ID = L.CRDN_ID AND L.DEL_YN = '
</if> </if>
<!-- 동적 검색 --> <!-- 동적 검색 -->
<if test="by != null and by != '' and term != null"> <if test="@org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(by) and @org.egovframe.rte.fdl.string.EgovStringUtil@isNotEmpty(term)">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" /> <include refid="dynamicSearch.start" />

Loading…
Cancel
Save