|
|
|
@ -164,9 +164,15 @@
|
|
|
|
|
, date_format(tcsm.regist_dt, '%Y%m%d%H%i%S') as insdate
|
|
|
|
|
, 'ens' as upduser
|
|
|
|
|
, date_format(tcsm.updt_dt, '%Y%m%d%H%i%S') as upddate
|
|
|
|
|
, tcsd.unity_sndng_detail_id as unitysndngdetailid
|
|
|
|
|
, tcsm.sndng_dt as sndngdt
|
|
|
|
|
, CASE WHEN tcsm.signgu_code = '88328' THEN SUBSTRING(tcsm.tmplat_id, 3,1) /* 교통시설운영처 */
|
|
|
|
|
WHEN tcsm.signgu_code = '88316' THEN fn_get_code_nm('ETI003', SUBSTRING(tcsm.tmplat_id, 3,1)) /* 추모시설운영처 */
|
|
|
|
|
END as sndngsecode
|
|
|
|
|
, tcsm.tmplat_id as tmplatid
|
|
|
|
|
, date_format(now(), '%Y%m%d%H%i%S') as searchdate
|
|
|
|
|
, '' as success
|
|
|
|
|
, tcsm.error_mssage as message
|
|
|
|
|
, tcsd.unity_sndng_detail_id as unitysndngdetailid
|
|
|
|
|
, '' as gojidepth
|
|
|
|
|
, SUBSTRING(tcsd.main_code, 1, 7) AS taxnum1
|
|
|
|
|
, SUBSTRING(tcsd.main_code, 8, 8) AS taxnum2
|
|
|
|
|