|
|
|
|
@ -238,13 +238,8 @@
|
|
|
|
|
<if test="cnm != null and cnm != ''">
|
|
|
|
|
, CAR_TYPE_NAME = #{cnm}
|
|
|
|
|
</if>
|
|
|
|
|
, POST_NO = (select MAX(ZIP)
|
|
|
|
|
from TB_CFS_ADRES_BULD_INFO
|
|
|
|
|
where LEGALDONG_CODE = #{ownerLegaldongCode}
|
|
|
|
|
and RN_CODE = #{ownerRoadNmCode}
|
|
|
|
|
and BULD_MNNM = #{ownerBuldMainNo}
|
|
|
|
|
and BULD_SLNO = NVL(#{ownerBuldSubNo},0)
|
|
|
|
|
)
|
|
|
|
|
, POST_NO = NVL(FUN_GET_ZIP_RCODE(#{ownerRoadNmCode},#{ownerUndgrndBuldSeCode},#{ownerBuldMainNo},#{ownerBuldSubNo})
|
|
|
|
|
,FUN_GET_ZIP_LCODE(#{ownerLegaldongCode},#{ownerMntn},#{ownerLnbr},#{ownerHo}))
|
|
|
|
|
WHERE WORKER_ID = #{workerId}
|
|
|
|
|
AND FARE_OFFICE_ID = #{fareOfficeId}
|
|
|
|
|
AND BOOTH_ID = #{boothId}
|
|
|
|
|
@ -324,12 +319,8 @@
|
|
|
|
|
, replace(#{ownerAdresNm}, chr(10), '')
|
|
|
|
|
, DECODE(#{vhctySeCode},'4','1','0')
|
|
|
|
|
, rfid_penalty_kbn
|
|
|
|
|
, (select MAX(ZIP)
|
|
|
|
|
from TB_CFS_ADRES_BULD_INFO
|
|
|
|
|
where LEGALDONG_CODE = #{ownerLegaldongCode}
|
|
|
|
|
and RN_CODE = #{ownerRoadNmCode}
|
|
|
|
|
and BULD_MNNM = #{ownerBuldMainNo}
|
|
|
|
|
and BULD_SLNO = NVL(#{ownerBuldSubNo},0))
|
|
|
|
|
, NVL(FUN_GET_ZIP_RCODE(#{ownerRoadNmCode},#{ownerUndgrndBuldSeCode},#{ownerBuldMainNo},#{ownerBuldSubNo})
|
|
|
|
|
,FUN_GET_ZIP_LCODE(#{ownerLegaldongCode},#{ownerMntn},#{ownerLnbr},#{ownerHo}))
|
|
|
|
|
, #{useFuelCode}
|
|
|
|
|
FROM DEFAULT_FARE_READ_INFO_DAMO
|
|
|
|
|
WHERE WORKER_ID = #{workerId}
|
|
|
|
|
@ -1387,18 +1378,16 @@
|
|
|
|
|
and owner = replace(#{mberNm}, chr(10), '')
|
|
|
|
|
and seqno = #{seqno}))
|
|
|
|
|
from dual)
|
|
|
|
|
, NVL((select substr(MAX(ZIP),0,3)
|
|
|
|
|
from TB_CFS_ADRES_BULD_INFO
|
|
|
|
|
where LEGALDONG_CODE = #{ownerLegaldongCode}
|
|
|
|
|
and RN_CODE = #{ownerRoadNmCode}
|
|
|
|
|
and BULD_MNNM = #{ownerBuldMainNo}
|
|
|
|
|
and BULD_SLNO = NVL(#{ownerBuldSubNo},0)),0)
|
|
|
|
|
, NVL((select substr(MAX(ZIP),4,2)
|
|
|
|
|
from TB_CFS_ADRES_BULD_INFO
|
|
|
|
|
where LEGALDONG_CODE = #{ownerLegaldongCode}
|
|
|
|
|
and RN_CODE = #{ownerRoadNmCode}
|
|
|
|
|
and BULD_MNNM = #{ownerBuldMainNo}
|
|
|
|
|
and BULD_SLNO = NVL(#{ownerBuldSubNo},0)),0)
|
|
|
|
|
, NVL((SUBSTR(NVL(FUN_GET_ZIP_RCODE(#{ownerRoadNmCode},#{ownerUndgrndBuldSeCode},#{ownerBuldMainNo},#{ownerBuldSubNo})
|
|
|
|
|
,FUN_GET_ZIP_LCODE(#{ownerLegaldongCode},#{ownerMntn},#{ownerLnbr},#{ownerHo}))
|
|
|
|
|
,1
|
|
|
|
|
,3))
|
|
|
|
|
,0)
|
|
|
|
|
, NVL((SUBSTR(NVL(FUN_GET_ZIP_RCODE(#{ownerRoadNmCode},#{ownerUndgrndBuldSeCode},#{ownerBuldMainNo},#{ownerBuldSubNo})
|
|
|
|
|
,FUN_GET_ZIP_LCODE(#{ownerLegaldongCode},#{ownerMntn},#{ownerLnbr},#{ownerHo}))
|
|
|
|
|
,4
|
|
|
|
|
,2))
|
|
|
|
|
,0)
|
|
|
|
|
, replace(#{addressName}, chr(10), '')
|
|
|
|
|
, replace(#{ownerAdresNm}, chr(10), '')
|
|
|
|
|
, NVL(#{ersrRegistSeCode},'0000')
|
|
|
|
|
@ -1417,18 +1406,16 @@
|
|
|
|
|
SET ADDRESS_NAME = #{addressName}
|
|
|
|
|
, ADDRESS_NUMBER = #{ownerAdresNm}
|
|
|
|
|
, OWNER = replace(#{mberNm}, chr(10), '')
|
|
|
|
|
, POST_NO1 = NVL((select substr(MAX(ZIP),0,3)
|
|
|
|
|
from TB_CFS_ADRES_BULD_INFO
|
|
|
|
|
where LEGALDONG_CODE = #{ownerLegaldongCode}
|
|
|
|
|
and RN_CODE = #{ownerRoadNmCode}
|
|
|
|
|
and BULD_MNNM = #{ownerBuldMainNo}
|
|
|
|
|
and BULD_SLNO = NVL(#{ownerBuldSubNo},0)),0)
|
|
|
|
|
, POST_NO2 = NVL((select substr(MAX(ZIP),4,2)
|
|
|
|
|
from TB_CFS_ADRES_BULD_INFO
|
|
|
|
|
where LEGALDONG_CODE = #{ownerLegaldongCode}
|
|
|
|
|
and RN_CODE = #{ownerRoadNmCode}
|
|
|
|
|
and BULD_MNNM = #{ownerBuldMainNo}
|
|
|
|
|
and BULD_SLNO = NVL(#{ownerBuldSubNo},0)),0)
|
|
|
|
|
, POST_NO1 = NVL((SUBSTR(NVL(FUN_GET_ZIP_RCODE(#{ownerRoadNmCode},#{ownerUndgrndBuldSeCode},#{ownerBuldMainNo},#{ownerBuldSubNo})
|
|
|
|
|
,FUN_GET_ZIP_LCODE(#{ownerLegaldongCode},#{ownerMntn},#{ownerLnbr},#{ownerHo}))
|
|
|
|
|
,1
|
|
|
|
|
,3))
|
|
|
|
|
,0)
|
|
|
|
|
, POST_NO2 = NVL((SUBSTR(NVL(FUN_GET_ZIP_RCODE(#{ownerRoadNmCode},#{ownerUndgrndBuldSeCode},#{ownerBuldMainNo},#{ownerBuldSubNo})
|
|
|
|
|
,FUN_GET_ZIP_LCODE(#{ownerLegaldongCode},#{ownerMntn},#{ownerLnbr},#{ownerHo}))
|
|
|
|
|
,4
|
|
|
|
|
,2))
|
|
|
|
|
,0)
|
|
|
|
|
, UPDATE_DATE = SYSDATE
|
|
|
|
|
, UPDATER = #{sessionUserNm}
|
|
|
|
|
where car_no = #{vhrno}
|
|
|
|
|
@ -1506,14 +1493,8 @@
|
|
|
|
|
, '0'
|
|
|
|
|
, RFID_PENALTY_KBN
|
|
|
|
|
, #{useFuelCode}
|
|
|
|
|
, (
|
|
|
|
|
select MAX(ZIP)
|
|
|
|
|
from TB_CFS_ADRES_BULD_INFO
|
|
|
|
|
where LEGALDONG_CODE = #{ownerLegaldongCode}
|
|
|
|
|
and RN_CODE = #{ownerRoadNmCode}
|
|
|
|
|
and BULD_MNNM = #{ownerBuldMainNo}
|
|
|
|
|
and BULD_SLNO = NVL(#{ownerBuldSubNo},0)
|
|
|
|
|
)
|
|
|
|
|
, NVL(FUN_GET_ZIP_RCODE(#{ownerRoadNmCode},#{ownerUndgrndBuldSeCode},#{ownerBuldMainNo},#{ownerBuldSubNo})
|
|
|
|
|
,FUN_GET_ZIP_LCODE(#{ownerLegaldongCode},#{ownerMntn},#{ownerLnbr},#{ownerHo}))
|
|
|
|
|
, #{processImprtyResnCode}
|
|
|
|
|
FROM DEFAULT_FARE_READ_INFO_DAMO
|
|
|
|
|
WHERE WORKER_ID = #{workerId}
|
|
|
|
|
@ -1531,13 +1512,8 @@
|
|
|
|
|
UPDATE DEFAULT_FARE_READ_INFO_DAMO
|
|
|
|
|
SET ADDRESS_NAME = #{addressName}
|
|
|
|
|
, ADDRESS_NUMBER = #{ownerAdresNm}
|
|
|
|
|
, POST_NO = (select MAX(ZIP)
|
|
|
|
|
from TB_CFS_ADRES_BULD_INFO
|
|
|
|
|
where LEGALDONG_CODE = #{ownerLegaldongCode}
|
|
|
|
|
and RN_CODE = #{ownerRoadNmCode}
|
|
|
|
|
and BULD_MNNM = #{ownerBuldMainNo}
|
|
|
|
|
and BULD_SLNO = NVL(#{ownerBuldSubNo},0)
|
|
|
|
|
)
|
|
|
|
|
, POST_NO = NVL(FUN_GET_ZIP_RCODE(#{ownerRoadNmCode},#{ownerUndgrndBuldSeCode},#{ownerBuldMainNo},#{ownerBuldSubNo})
|
|
|
|
|
,FUN_GET_ZIP_LCODE(#{ownerLegaldongCode},#{ownerMntn},#{ownerLnbr},#{ownerHo}))
|
|
|
|
|
WHERE WORKER_ID = #{workerId}
|
|
|
|
|
AND FARE_OFFICE_ID = #{fareOfficeId}
|
|
|
|
|
AND BOOTH_ID = #{boothId}
|
|
|
|
|
@ -1553,12 +1529,8 @@
|
|
|
|
|
UPDATE DEFAULT_CARS_TRANS_INFO_DAMO
|
|
|
|
|
SET ADDRESS_NAME = #{addressName}
|
|
|
|
|
, ADDRESS_NUMBER = #{ownerAdresNm}
|
|
|
|
|
, POST_NO = (select MAX(ZIP)
|
|
|
|
|
from TB_CFS_ADRES_BULD_INFO
|
|
|
|
|
where LEGALDONG_CODE = #{ownerLegaldongCode}
|
|
|
|
|
and RN_CODE = #{ownerRoadNmCode}
|
|
|
|
|
and BULD_MNNM = #{ownerBuldMainNo}
|
|
|
|
|
and BULD_SLNO = NVL(#{ownerBuldSubNo},0))
|
|
|
|
|
, POST_NO = NVL(FUN_GET_ZIP_RCODE(#{ownerRoadNmCode},#{ownerUndgrndBuldSeCode},#{ownerBuldMainNo},#{ownerBuldSubNo})
|
|
|
|
|
,FUN_GET_ZIP_LCODE(#{ownerLegaldongCode},#{ownerMntn},#{ownerLnbr},#{ownerHo}))
|
|
|
|
|
, updater = #{sessionUserNm}
|
|
|
|
|
, update_date = SYSDATE
|
|
|
|
|
WHERE WORKER_ID = #{workerId}
|
|
|
|
|
@ -1599,19 +1571,6 @@
|
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="finddelAddressNumber" parameterType="hashmap" resultType="hashmap">
|
|
|
|
|
select (LNM_MNNM||'-'||LNM_SLNO) as GEEBUN
|
|
|
|
|
from (
|
|
|
|
|
select rownum,
|
|
|
|
|
a.*
|
|
|
|
|
from TB_CFS_ADRES_BULD_INFO a
|
|
|
|
|
where LEGALDONG_CODE = #{ownerLegaldongCode}
|
|
|
|
|
and RN_CODE = #{ownerRoadNmCode}
|
|
|
|
|
and BULD_MNNM = #{ownerBuldMainNo}
|
|
|
|
|
and BULD_SLNO = NVL(#{ownerBuldSubNo},0)
|
|
|
|
|
)
|
|
|
|
|
where rownum = '1'
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="selectKTMoblieNotification" parameterType="hashmap" resultType="hashmap">
|
|
|
|
|
/* KT 모바일 고지 내역 조회 */
|
|
|
|
|
|