fix: 유효성체크 SQL 필드 매핑 오류 fix

main
Jonguk. Lim 3 months ago
parent 94a004b679
commit 5d834a4e26

@ -1041,9 +1041,9 @@
ON tcsm.elctrn_ntic_sndng_id = tcsd.elctrn_ntic_sndng_id ON tcsm.elctrn_ntic_sndng_id = tcsd.elctrn_ntic_sndng_id
LEFT JOIN tb_ens_ci tec LEFT JOIN tb_ens_ci tec
ON tcsd.elctrn_ntic_sndng_detail_id = tec.unity_sndng_detail_id ON tcsd.elctrn_ntic_sndng_detail_id = tec.unity_sndng_detail_id
LEFT JOIN tb_ens_tmplat_manage tetm JOIN tb_ens_tmplat_manage tetm
ON tcsm.nht_tmplat_id = tetm.tmplat_id ON tcsm.nht_tmplat_id = tetm.tmplat_id
LEFT JOIN tb_ens_rlaybsnm_manage term JOIN tb_ens_rlaybsnm_manage term
ON (tcsm.signgu_code = term.signgu_code ON (tcsm.signgu_code = term.signgu_code
AND tcsm.ffnlg_code = term.ffnlg_code) AND tcsm.ffnlg_code = term.ffnlg_code)
WHERE tcsm.elctrn_ntic_sndng_id = #{unitySndngMastrId} WHERE tcsm.elctrn_ntic_sndng_id = #{unitySndngMastrId}

@ -1155,34 +1155,29 @@
, tcsm.sndng_co , tcsm.sndng_co
, tcsm.sndng_dt , tcsm.sndng_dt
, tcsm.clos_dt , tcsm.clos_dt
, tcsd.elctrn_ntic_sndng_detail_id AS unitySndngDetailId
, tcsd.main_code , tcsd.main_code
, tcsd.vhcle_no
, tcsd.nm
, tcsd.ffnlg_code AS ffnlg_code_de , tcsd.ffnlg_code AS ffnlg_code_de
, tcsd.signgu_code AS signgu_code_de , tcsd.signgu_code AS signgu_code_de
, ECL_DECRYPT(tcsd.ihidnum) AS ihidnum , ECL_DECRYPT(tcsd.ihidnum) AS ihidnum
, tcsd.moblphon_no , tcsd.ihidnum AS encIhidnum
, tcsd.mobile_page_cn , tcsd.mobile_page_cn
, tcsd.adres
, tcsd.detail_adres
, tcsd.zip
, tetm.try1 , tetm.try1
, tetm.try2 , tetm.try2
, tetm.try3 , tetm.try3
, 1 AS try_seq , 1 AS try_seq
, tec.ci , tec.ci
, tcsd.unity_sndng_detail_id FROM tb_elctrn_ntic_sndng tcsm
FROM tb_cntc_sndng_mastr tcsm JOIN tb_elctrn_ntic_sndng_detail tcsd
JOIN tb_cntc_sndng_detail tcsd ON tcsm.elctrn_ntic_sndng_id = tcsd.elctrn_ntic_sndng_id
ON tcsm.unity_sndng_mastr_id = tcsd.unity_sndng_mastr_id
LEFT JOIN tb_ens_ci tec LEFT JOIN tb_ens_ci tec
ON tcsd.unity_sndng_detail_id = tec.unity_sndng_detail_id ON tcsd.elctrn_ntic_sndng_detail_id = tec.unity_sndng_detail_id
LEFT JOIN tb_ens_tmplat_manage tetm JOIN tb_ens_tmplat_manage tetm
ON tcsm.tmplat_id = tetm.tmplat_id ON tcsm.nht_tmplat_id = tetm.tmplat_id
LEFT JOIN tb_ens_rlaybsnm_manage term JOIN tb_ens_rlaybsnm_manage term
ON (tcsm.signgu_code = term.signgu_code ON (tcsm.signgu_code = term.signgu_code
AND tcsm.ffnlg_code = term.ffnlg_code) AND tcsm.ffnlg_code = term.ffnlg_code)
WHERE tcsm.unity_sndng_mastr_id = #{unitySndngMastrId} WHERE tcsm.elctrn_ntic_sndng_id = #{unitySndngMastrId}
AND tcsm.sndng_process_sttus = #{sndngProcessSttus} AND tcsm.sndng_process_sttus = #{sndngProcessSttus}
</select> </select>

Loading…
Cancel
Save