no message

main
이범준 1 year ago
parent 9be74fff86
commit 3590da438b

@ -21,7 +21,7 @@ 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 id="selectViolationCodes" parameterType="map" resultType="dataobject">/* importMapper.selectViolationCodes(위반내용 관련 코드 조회) */
SELECT CASE WHEN VLTN LIKE CONCAT('%', '전용차로', '%') THEN 'BPV' SELECT CASE WHEN VLTN LIKE CONCAT('%', '전용차로', '%') THEN 'BPV'
WHEN VLTN LIKE CONCAT('%', '장애인', '%') WHEN VLTN LIKE CONCAT('%', '장애인', '%')
AND VLTN NOT LIKE CONCAT('%', '보호구역', '%') THEN 'DPV' AND VLTN NOT LIKE CONCAT('%', '장애인보호구역', '%') THEN 'DPV'
WHEN VLTN LIKE CONCAT('%', '전기차', '%') WHEN VLTN LIKE CONCAT('%', '전기차', '%')
OR VLTN LIKE CONCAT('%', '친환경차', '%') THEN 'ECA' OR VLTN LIKE CONCAT('%', '친환경차', '%') THEN 'ECA'
WHEN VLTN LIKE CONCAT('%', '밤샘', '%') THEN 'TPV' WHEN VLTN LIKE CONCAT('%', '밤샘', '%') THEN 'TPV'

Loading…
Cancel
Save