Compare commits
No commits in common. "9ab76a8926256e04bb67d0ad5f704dc7b5e1f316" and "efa21b4961fec010970881b445c98d21d27f532a" have entirely different histories.
9ab76a8926
...
efa21b4961
@ -31,7 +31,7 @@
|
|||||||
AND A.AREA_SUB_CODE = B.DETAIL_CODE
|
AND A.AREA_SUB_CODE = B.DETAIL_CODE
|
||||||
]]>
|
]]>
|
||||||
<if test="searchAreaCode != null and searchAreaCode != ''">
|
<if test="searchAreaCode != null and searchAreaCode != ''">
|
||||||
AND INSTR(','||#{searchAreaCode}||',', ','||A.AREA_CODE||',') > 0
|
AND A.AREA_CODE = #{searchAreaCode}
|
||||||
</if>
|
</if>
|
||||||
<if test="searchLclttNm != null and searchLclttNm != ''">
|
<if test="searchLclttNm != null and searchLclttNm != ''">
|
||||||
AND A.LCLTT_NM LIKE '%'||#{searchLclttNm}||'%'
|
AND A.LCLTT_NM LIKE '%'||#{searchLclttNm}||'%'
|
||||||
@ -40,7 +40,7 @@
|
|||||||
) T
|
) T
|
||||||
) T1
|
) T1
|
||||||
WHERE T1.RN BETWEEN ((#{pageNo} - 1) * #{pageSize} + 1) AND #{pageNo} * #{pageSize}
|
WHERE T1.RN BETWEEN ((#{pageNo} - 1) * #{pageSize} + 1) AND #{pageNo} * #{pageSize}
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getLclttIdSeq" resultType="string">
|
<select id="getLclttIdSeq" resultType="string">
|
||||||
@ -193,7 +193,7 @@
|
|||||||
WHERE A.DELETE_AT = 'N'
|
WHERE A.DELETE_AT = 'N'
|
||||||
AND A.AREA_SUB_CODE = C.DETAIL_CODE
|
AND A.AREA_SUB_CODE = C.DETAIL_CODE
|
||||||
<if test="searchAreaCode != null and searchAreaCode != ''">
|
<if test="searchAreaCode != null and searchAreaCode != ''">
|
||||||
AND INSTR(','||#{searchAreaCode}||',', ','||A.AREA_CODE||',') > 0
|
AND A.AREA_CODE = #{searchAreaCode}
|
||||||
</if>
|
</if>
|
||||||
<if test="searchAreaSubCode != null and searchAreaSubCode != ''">
|
<if test="searchAreaSubCode != null and searchAreaSubCode != ''">
|
||||||
AND A.AREA_SUB_CODE LIKE (SELECT CASE WHEN SUBSTR(#{searchAreaSubCode}, 3) = '000' THEN SUBSTR(#{searchAreaSubCode},0, 2)||'%' ELSE #{searchAreaSubCode}||'%' END FROM dual)
|
AND A.AREA_SUB_CODE LIKE (SELECT CASE WHEN SUBSTR(#{searchAreaSubCode}, 3) = '000' THEN SUBSTR(#{searchAreaSubCode},0, 2)||'%' ELSE #{searchAreaSubCode}||'%' END FROM dual)
|
||||||
|
|||||||
@ -59,21 +59,8 @@ li .title-end {
|
|||||||
<label class="arrow mr-5" style="text-align: left;">시.도</label>
|
<label class="arrow mr-5" style="text-align: left;">시.도</label>
|
||||||
<div>
|
<div>
|
||||||
<button type="button" id="searchAreaCodeBtn" name="searchAreaCodeBtn" class="btn btn-md btn-min btn-default btn-gray mr-1 mb-1" onclick="fnAreaCodeBtn();">전체</button>
|
<button type="button" id="searchAreaCodeBtn" name="searchAreaCodeBtn" class="btn btn-md btn-min btn-default btn-gray mr-1 mb-1" onclick="fnAreaCodeBtn();">전체</button>
|
||||||
<%-- 광주, 전남 통합: 두 지역 코드 미리 조회 --%>
|
|
||||||
<c:set var="gwangjuCode" value="" />
|
|
||||||
<c:set var="jeonnamCode" value="" />
|
|
||||||
<c:forEach items="${areaCodeList}" var="areaCodeItem">
|
|
||||||
<c:if test="${areaCodeItem.aditAtrbInfoValue1 == '광주'}"><c:set var="gwangjuCode" value="${areaCodeItem.detailCode}" /></c:if>
|
|
||||||
<c:if test="${areaCodeItem.aditAtrbInfoValue1 == '전남'}"><c:set var="jeonnamCode" value="${areaCodeItem.detailCode}" /></c:if>
|
|
||||||
</c:forEach>
|
|
||||||
<%-- 광주, 전남 버튼은 없애고, '전남광주' 버튼을 서울과 부산 사이에 배치 --%>
|
|
||||||
<c:forEach items="${areaCodeList}" var="areaCodeList">
|
<c:forEach items="${areaCodeList}" var="areaCodeList">
|
||||||
<c:if test="${areaCodeList.aditAtrbInfoValue1 != '광주' && areaCodeList.aditAtrbInfoValue1 != '전남'}">
|
<button type="button" id="searchAreaCodeBtn_${areaCodeList.detailCode}" name="searchAreaCodeBtn" class="btn btn-md btn-min btn-default btn-gray mr-1 mb-1" onclick="fnAreaCodeBtn('${areaCodeList.detailCode}');">${areaCodeList.aditAtrbInfoValue1}</button>
|
||||||
<button type="button" id="searchAreaCodeBtn_${areaCodeList.detailCode}" name="searchAreaCodeBtn" class="btn btn-md btn-min btn-default btn-gray mr-1 mb-1" onclick="fnAreaCodeBtn('${areaCodeList.detailCode}');">${areaCodeList.aditAtrbInfoValue1}</button>
|
|
||||||
</c:if>
|
|
||||||
<c:if test="${areaCodeList.aditAtrbInfoValue1 == '서울'}">
|
|
||||||
<button type="button" id="searchAreaCodeBtn_${gwangjuCode}_${jeonnamCode}" name="searchAreaCodeBtn" class="btn btn-md btn-min btn-default btn-gray mr-1 mb-1" onclick="fnAreaCodeBtn('${gwangjuCode},${jeonnamCode}');">전남광주</button>
|
|
||||||
</c:if>
|
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
<input type="hidden" id="searchAreaCode" name="searchAreaCode" value="${searchVO.searchAreaCode}"/>
|
<input type="hidden" id="searchAreaCode" name="searchAreaCode" value="${searchVO.searchAreaCode}"/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -25,21 +25,8 @@
|
|||||||
<label class="arrow">시.도</label>
|
<label class="arrow">시.도</label>
|
||||||
<div class="row-df">
|
<div class="row-df">
|
||||||
<button type="button" id="searchAreaCodeBtn" name="searchAreaCodeBtn" class="btn btn-sm btn-lclttBtn mr-1 hover" onclick="fnAreaCodeBtn('', this);" style="margin-bottom: 5px; margin-top: 5px;">전체</button>
|
<button type="button" id="searchAreaCodeBtn" name="searchAreaCodeBtn" class="btn btn-sm btn-lclttBtn mr-1 hover" onclick="fnAreaCodeBtn('', this);" style="margin-bottom: 5px; margin-top: 5px;">전체</button>
|
||||||
<%-- 광주, 전남 통합: 두 지역 코드 미리 조회 --%>
|
|
||||||
<c:set var="gwangjuCode" value="" />
|
|
||||||
<c:set var="jeonnamCode" value="" />
|
|
||||||
<c:forEach items="${areaCodeList}" var="areaCodeItem">
|
|
||||||
<c:if test="${areaCodeItem.aditAtrbInfoValue1 == '광주'}"><c:set var="gwangjuCode" value="${areaCodeItem.detailCode}" /></c:if>
|
|
||||||
<c:if test="${areaCodeItem.aditAtrbInfoValue1 == '전남'}"><c:set var="jeonnamCode" value="${areaCodeItem.detailCode}" /></c:if>
|
|
||||||
</c:forEach>
|
|
||||||
<%-- 광주, 전남 버튼은 없애고, '전남광주' 버튼을 서울과 부산 사이에 배치 --%>
|
|
||||||
<c:forEach items="${areaCodeList}" var="areaCodeList">
|
<c:forEach items="${areaCodeList}" var="areaCodeList">
|
||||||
<c:if test="${areaCodeList.aditAtrbInfoValue1 != '광주' && areaCodeList.aditAtrbInfoValue1 != '전남'}">
|
<button type="button" id="searchAreaCodeBtn" name="searchAreaCodeBtn" class="btn btn-sm btn-lclttBtn mr-1" onclick="fnAreaCodeBtn('${areaCodeList.detailCode}', this);" style="margin-bottom: 5px; margin-top: 5px;">${areaCodeList.aditAtrbInfoValue1}</button>
|
||||||
<button type="button" id="searchAreaCodeBtn" name="searchAreaCodeBtn" class="btn btn-sm btn-lclttBtn mr-1" onclick="fnAreaCodeBtn('${areaCodeList.detailCode}', this);" style="margin-bottom: 5px; margin-top: 5px;">${areaCodeList.aditAtrbInfoValue1}</button>
|
|
||||||
</c:if>
|
|
||||||
<c:if test="${areaCodeList.aditAtrbInfoValue1 == '서울'}">
|
|
||||||
<button type="button" id="searchAreaCodeBtn" name="searchAreaCodeBtn" class="btn btn-sm btn-lclttBtn mr-1" onclick="fnAreaCodeBtn('${gwangjuCode},${jeonnamCode}', this);" style="margin-bottom: 5px; margin-top: 5px;">전남광주</button>
|
|
||||||
</c:if>
|
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
<input type="hidden" id="searchAreaCode" name="searchAreaCode" value=""/>
|
<input type="hidden" id="searchAreaCode" name="searchAreaCode" value=""/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user