민원내용에 따른 과태료구분 쿼리 수정(안전신문고앱 친환경차 충전구역)

main
이범준 1 year ago
parent 0d5f3d43da
commit 42ee3edf37

@ -21,7 +21,8 @@ SELECT CASE WHEN A.SGG_CD = B.SGG_CD THEN A.SGG_CD ELSE 'DIFF' END SGG_CD
<select id="selectViolationCodes" parameterType="map" resultType="dataobject">/* importMapper.selectViolationCodes(위반내용 관련 코드 조회) */
SELECT CASE WHEN VLTN LIKE CONCAT('%', '전용차로', '%') THEN 'BPV'
WHEN VLTN LIKE CONCAT('%', '장애인', '%') THEN 'DPV'
WHEN VLTN LIKE CONCAT('%', '전기차', '%') THEN 'ECA'
WHEN VLTN LIKE CONCAT('%', '전기차', '%')
OR VLTN LIKE CONCAT('%', '친환경차', '%') THEN 'ECA'
WHEN VLTN LIKE CONCAT('%', '밤샘', '%') THEN 'TPV'
ELSE 'PVS'
END TASK_CD <!-- 업무구분(FIM054) -->

Loading…
Cancel
Save