새올 관련 테이블명 변경

main
이범준 2 months ago
parent 512310ca10
commit 7a6bb72177

@ -597,7 +597,7 @@ public class Crdn06Controller extends ApplicationController {
FileQuery cvlcptFileQuery = new FileQuery();
if(linkTblNm.equals("TB_ESB_INTERFACE")) {
cvlcptFileQuery.setInfoType("010");
} else if(linkTblNm.equals("TB_SA_CVLCPT_DTL")) {
} else if(linkTblNm.equals("TB_SAEOL_CVLCPT_DTL")) {
cvlcptFileQuery.setInfoType("020");
} else {
throw new RuntimeException("파일 조회 중 오류가 발생하였습니다.");

@ -176,7 +176,7 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
if(linkTblNm.equals("TB_ESB_INTERFACE")) {
fileQuery.setInfoType("010");
} else if(linkTblNm.equals("TB_SA_CVLCPT_DTL")) {
} else if(linkTblNm.equals("TB_SAEOL_CVLCPT_DTL")) {
fileQuery.setInfoType("020");
} else {
throw new RuntimeException("파일 조회 중 오류가 발생하였습니다.");
@ -225,7 +225,7 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
}
if(crdnInfo.string("LINK_TBL_NM").equals("TB_ESB_INTERFACE")
|| crdnInfo.string("LINK_TBL_NM").equals("TB_SA_CVLCPT_DTL")) {
|| crdnInfo.string("LINK_TBL_NM").equals("TB_SAEOL_CVLCPT_DTL")) {
boolean result = crdnCvlcptMainBean.insertTransmitInfo(true, crdnInfo.string("CVLCPT_LINK_ID"));
if (!result) {
throw new RuntimeException("반송 처리 중 전송자료 등록에 실패하였습니다.");
@ -382,7 +382,7 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
if(processType.equals("answerExecute")) {
if(targetDataList.get(i).string("LINK_TBL_NM").equals("TB_ESB_INTERFACE")
|| targetDataList.get(i).string("LINK_TBL_NM").equals("TB_SA_CVLCPT_DTL")) {
|| targetDataList.get(i).string("LINK_TBL_NM").equals("TB_SAEOL_CVLCPT_DTL")) {
boolean result = crdnCvlcptMainBean.insertTransmitInfo(false, targetDataList.get(i).string("CVLCPT_LINK_ID"));
if (!result) {
throw new RuntimeException("민원 전송 상태 변경 중 전송자료 등록에 실패하였습니다.");

@ -237,7 +237,7 @@ public class Cvlc01Controller extends ApplicationController {
if(linkTblNm.equals("TB_ESB_INTERFACE")) {
fileQuery.setInfoType("010");
} else if(linkTblNm.equals("TB_SA_CVLCPT_DTL")) {
} else if(linkTblNm.equals("TB_SAEOL_CVLCPT_DTL")) {
fileQuery.setInfoType("020");
} else {
throw new RuntimeException("한글 파일 출력 중 오류가 발생하였습니다.");

@ -46,7 +46,7 @@ public class MediaBean extends AbstractBean {
if(linkTblNm.equals("TB_ESB_INTERFACE")) {
fileQuery.setInfoType("010");
} else if(linkTblNm.equals("TB_SA_CVLCPT_DTL")) {
} else if(linkTblNm.equals("TB_SAEOL_CVLCPT_DTL")) {
fileQuery.setInfoType("020");
} else {
throw new RuntimeException("파일 조회 중 오류가 발생하였습니다.");

@ -585,7 +585,7 @@ SELECT CC.CVLCPT_LINK_ID /* 민원 연계 ID */
, EI.PETI_ANC_CODE_V /* 민원 기관코드 */
FROM TB_CRDN_CVLCPT CC
LEFT OUTER JOIN TB_ESB_INTERFACE EI ON (CC.CVLCPT_LINK_ID = EI.INTERFACE_SEQ_N)
LEFT OUTER JOIN TB_SA_CVLCPT_DTL SCD ON (CC.CVLCPT_LINK_ID = SCD.DTL_ID)
LEFT OUTER JOIN TB_SAEOL_CVLCPT_DTL SCD ON (CC.CVLCPT_LINK_ID = SCD.DTL_ID)
LEFT OUTER JOIN TB_USER U ON (CC.CVLCPT_PRCS_PIC = U.USER_ID)
LEFT OUTER JOIN TB_SGG S ON (U.NSTT_CD = S.INST_CD)
WHERE CC.CVLCPT_LINK_ID = #{cvlcptLinkId}

@ -17,7 +17,7 @@ SELECT SA.INDIV_ID <!-- 개별 ID -->
FROM TB_USER
WHERE USER_ID = SA.RGTR
) AS RGTR <!-- 요청자 -->
FROM TB_SA_CVLCPT_INDIV_DMND SA
FROM TB_SAEOL_CVLCPT_INDIV_DMND SA
WHERE SA.DEL_YN = 'N'
AND SA.SGG_CD = #{sggCd}
AND SA.TASK_SE_CD = #{taskSeCd}
@ -32,14 +32,14 @@ SELECT SA.INDIV_ID <!-- 개별 ID -->
<insert id="insertDmndDataInfo" parameterType="cokr.xit.fims.cvlc.CrdnCvlcpt">
<selectKey resultType="string" keyProperty="indivId" keyColumn="NEW_ID" order="BEFORE">
<include refid="numbering.keyByYear">
<property name="TABLE_NAME" value="TB_SA_CVLCPT_INDIV_DMND" />
<property name="TABLE_NAME" value="TB_SAEOL_CVLCPT_INDIV_DMND" />
<property name="TABLE_KEY" value="INDIV_ID" />
<property name="pad" value="30" />
</include>
</selectKey>
/* 새올요청자료 등록(soCvlcptIndviDmndMapper.insertDmndDataInfo) */
INSERT
INTO TB_SA_CVLCPT_INDIV_DMND (
INTO TB_SAEOL_CVLCPT_INDIV_DMND (
INDIV_ID
, SGG_CD
, TASK_SE_CD
@ -71,7 +71,7 @@ INSERT
<update id="deleteDmndDataInfo" parameterType="map">
/* 새올요청자료 삭제(soCvlcptIndviDmndMapper.deleteDmndDataInfo) */
UPDATE TB_SA_CVLCPT_INDIV_DMND
UPDATE TB_SAEOL_CVLCPT_INDIV_DMND
SET DEL_YN = 'Y'
, DEL_DT = <include refid="utility.now" /> /* 삭제일시 */
, DLTR = #{removedBy} /* 삭제자 */

Loading…
Cancel
Save