|
|
|
@ -45,7 +45,10 @@
|
|
|
|
|
<select id="selectSigunguList" parameterType="map" resultType="dataobject">/* 시군구 목록 조회(sigunguMapper.selectSigunguList) */
|
|
|
|
|
<include refid="utility.paging-prefix" />
|
|
|
|
|
<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="instCodes != null"> AND INST_CD IN (<foreach collection="instCodes" item="instCode" separator=",">#{instCode}</foreach>)</if>
|
|
|
|
|
<if test="!includeAll">AND USE_YN = 'Y'</if></where>
|
|
|
|
@ -54,7 +57,10 @@
|
|
|
|
|
|
|
|
|
|
<select id="selectSigungus" parameterType="map" resultMap="sggRow">/* 시군구 객체 가져오기(sigunguMapper.selectSigungus) */
|
|
|
|
|
<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="instCodes != null">AND INST_CD IN (<foreach collection="instCodes" item="instCode" separator=",">#{instCode}</foreach>)</if>
|
|
|
|
|
<if test="!includeAll"> AND USE_YN = 'Y'</if></where>
|
|
|
|
|