기준 자료 > 위치지수, 위반법규 : 정렬 desc > asc 변경, 조회조건 위반법 적용

dev
dg_kim 3 months ago
parent 9f239b67a7
commit 6ba7c296bf

@ -23,7 +23,7 @@
<if test='schType == "1" and schTypeTxt != null and schTypeTxt != ""'>
AND PSTN_IDX_NO LIKE CONCAT('%', #{schTypeTxt}, '%')
</if>
ORDER BY CAST(PSTN_IDX_NO AS UNSIGNED) DESC
ORDER BY CAST(PSTN_IDX_NO AS UNSIGNED) asc
<if test='pagingYn != null and pagingYn == "Y"'>
limit #{startIndex}, #{perPage} /* 서버사이드 페이징 처리 */
</if>

@ -21,9 +21,9 @@
FROM tb_vltn_lwrg
WHERE DEL_YN = 'N'
<if test='schType == "1" and schTypeTxt != null and schTypeTxt != ""'>
AND VLTN_LWRG_CD LIKE CONCAT('%', #{schTypeTxt}, '%')
AND VLTN_LAW LIKE CONCAT('%', #{schTypeTxt}, '%')
</if>
ORDER BY CAST(VLTN_LWRG_CD AS UNSIGNED) DESC
ORDER BY CAST(VLTN_LWRG_CD AS UNSIGNED) asc
<if test='pagingYn != null and pagingYn == "Y"'>
limit #{startIndex}, #{perPage} /* 서버사이드 페이징 처리 */
</if>

@ -21,7 +21,7 @@
<li class="th">조회 조건</li>
<li>
<select id="schType" name="schType" class="input">
<option value="1">위반법규코드</option>
<option value="1">위반 법</option>
<%--<option value="2">기타</option>--%>
</select>
</li>

Loading…
Cancel
Save