1.소스정리 2.초기화 버튼 위치 변경

main
이범준 1 year ago
parent 6693d7c9be
commit 1ae18de0d0

@ -81,6 +81,62 @@ public class CrdnCvlcptMainBean extends AbstractComponent {
return crdnCvlcptMapper.updateCvlcptPrcsSe(cvlcpt) == 1 ? true : false; return crdnCvlcptMapper.updateCvlcptPrcsSe(cvlcpt) == 1 ? true : false;
} }
/** .
* @param isSendBack , cvlcptLinkId ID
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
public boolean insertTransmitInfo(boolean isSendBack, String cvlcptLinkId) {
//민원처리정보 조회
DataObject cvlcptInfo = crdnCvlcptMapper.selectCivilComplaintProcessInfo(cvlcptLinkId);
//전송 인터페이스 테이블 등록
Petition petition = new Petition();
petition.setInterfaceSeqN(cvlcptInfo.string("CVLCPT_LINK_ID")); //민원연계키
petition.setSysGubunC("EC010008"); //시스템 구분("EC010008")
petition.setPetiAncCodeV(cvlcptInfo.string("PETI_ANC_CODE_V")); //민원 기관 코드(최초신청기관코드)
petition.setPetiGubunC(isSendBack ? "140" : "180"); //민원구분
petition.setSendYnC(isSendBack? "1" : "2"); // 송신 여부
petition.setPetiNoC(cvlcptInfo.string("CVLCPT_APLY_NO")); //민원 신청 번호
petition.setCivilNoC(cvlcptInfo.string("CVLCPT_RCPT_NO"));//민원 접수 번호
petition.setPetiTitleV(cvlcptInfo.string("CVLCPT_APLY_TTL_NM")); //민원제목
petition.setCivilGistV(cvlcptInfo.string("CVLCPT_GIST")); //민원요지
petition.setCivilAbstractL(cvlcptInfo.string("CVLCPT_PRCS_SUMRY")); //민원 처리 요약
petition.setAncCodeV(cvlcptInfo.string("CVLCPT_PRCS_NSTT_CD")); //기관 코드
petition.setPcdDeptV(cvlcptInfo.string("CVLCPT_PRCS_DEPT_CD")); //처리 부서 코드
petition.setPcdAncCodeV(cvlcptInfo.string("CVLCPT_PRCS_DEPT_CD")); //민원 실 처리 기관 코드
petition.setPcdDeptNmV(cvlcptInfo.string("CVLCPT_PRCS_DEPT_NM")); //민원 처리 부서명
petition.setDutyIdV(cvlcptInfo.string("CVLCPT_PRCS_PIC_NM")); //민원 처리 담당자 명
petition.setPcdEmailV(cvlcptInfo.string("CVLCPT_PRCS_PIC_EMAIL")); //담당자 이메일
petition.setPcdTelV(cvlcptInfo.string("CVLCPT_PRCS_PIC_TELNO")); //담당자 전화번호
petition.setPcdRstContL(cvlcptInfo.string("CVLCPT_PRCS_RSLT_CN")); //민원 처리 결과
petition.setDoRegD(cvlcptInfo.string("CVLCPT_PRCS_CMPTN_DT")); //민원 처리 완료 일자
petition.setRegD((new SimpleDateFormat("yyyyMMddHHmmss")).format(new Date())); // 등록 일자
//not use
petition.setPcdRstContAttachYnC("N"); //민원 처리 결과 첨부 여부
petition.setPcdGubunV(""); //처리 구분1
petition.setPcdGubun2V("");//처리 구분2
petition.setPcdGubun3V("");//처리 구분3
//DB --> XML
petition.setApplyGubunC("N"); //완료구분
petition.setSendD(""); //송신 일자
petition.setApplyD(""); //적용 일자
petition.setSendInterfaceSeqN("");//전송인터페이스키
petition.setSendStatus("");//전송상태
petition.setSendStatusMsg("");//전송상태메시지
return smgSenderBean.createReply(petition);
}
/** . /** .
* @param cvlcptLinkId * @param cvlcptLinkId
* @return * @return
@ -165,62 +221,6 @@ public class CrdnCvlcptMainBean extends AbstractComponent {
return joinWords; return joinWords;
} }
/** .
* @param isSendBack , cvlcptLinkId ID
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
public boolean insertTransmitInfo(boolean isSendBack, String cvlcptLinkId) {
//민원처리정보 조회
DataObject cvlcptInfo = crdnCvlcptMapper.selectCivilComplaintProcessInfo(cvlcptLinkId);
//전송 인터페이스 테이블 등록
Petition petition = new Petition();
petition.setInterfaceSeqN(cvlcptInfo.string("CVLCPT_LINK_ID")); //민원연계키
petition.setSysGubunC("EC010008"); //시스템 구분("EC010008")
petition.setPetiAncCodeV(cvlcptInfo.string("PETI_ANC_CODE_V")); //민원 기관 코드(최초신청기관코드)
petition.setPetiGubunC(isSendBack ? "140" : "180"); //민원구분
petition.setSendYnC(isSendBack? "1" : "2"); // 송신 여부
petition.setPetiNoC(cvlcptInfo.string("CVLCPT_APLY_NO")); //민원 신청 번호
petition.setCivilNoC(cvlcptInfo.string("CVLCPT_RCPT_NO"));//민원 접수 번호
petition.setPetiTitleV(cvlcptInfo.string("CVLCPT_APLY_TTL_NM")); //민원제목
petition.setCivilGistV(cvlcptInfo.string("CVLCPT_GIST")); //민원요지
petition.setCivilAbstractL(cvlcptInfo.string("CVLCPT_PRCS_SUMRY")); //민원 처리 요약
petition.setAncCodeV(cvlcptInfo.string("CVLCPT_PRCS_NSTT_CD")); //기관 코드
petition.setPcdDeptV(cvlcptInfo.string("CVLCPT_PRCS_DEPT_CD")); //처리 부서 코드
petition.setPcdAncCodeV(cvlcptInfo.string("CVLCPT_PRCS_DEPT_CD")); //민원 실 처리 기관 코드
petition.setPcdDeptNmV(cvlcptInfo.string("CVLCPT_PRCS_DEPT_NM")); //민원 처리 부서명
petition.setDutyIdV(cvlcptInfo.string("CVLCPT_PRCS_PIC_NM")); //민원 처리 담당자 명
petition.setPcdEmailV(cvlcptInfo.string("CVLCPT_PRCS_PIC_EMAIL")); //담당자 이메일
petition.setPcdTelV(cvlcptInfo.string("CVLCPT_PRCS_PIC_TELNO")); //담당자 전화번호
petition.setPcdRstContL(cvlcptInfo.string("CVLCPT_PRCS_RSLT_CN")); //민원 처리 결과
petition.setDoRegD(cvlcptInfo.string("CVLCPT_PRCS_CMPTN_DT")); //민원 처리 완료 일자
petition.setRegD((new SimpleDateFormat("yyyyMMddHHmmss")).format(new Date())); // 등록 일자
//not use
petition.setPcdRstContAttachYnC("N"); //민원 처리 결과 첨부 여부
petition.setPcdGubunV(""); //처리 구분1
petition.setPcdGubun2V("");//처리 구분2
petition.setPcdGubun3V("");//처리 구분3
//DB --> XML
petition.setApplyGubunC("N"); //완료구분
petition.setSendD(""); //송신 일자
petition.setApplyD(""); //적용 일자
petition.setSendInterfaceSeqN("");//전송인터페이스키
petition.setSendStatus("");//전송상태
petition.setSendStatusMsg("");//전송상태메시지
return smgSenderBean.createReply(petition);
}
/** . /** .
* @param query * @param query
* @return * @return

@ -10,13 +10,12 @@
<input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" data-map="TASK_SE_CD" /> <input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" data-map="TASK_SE_CD" />
<div class="row mt-4 justify-content-end mb-3"> <div class="row mt-4 justify-content-end mb-3">
<div class="col-md-4"> <div class="col-md-12 ps-4">
<button type="button" id="btnReset--${pageName}" class="btn btn-primary">초기화</button>
<input type="text" id="countStauts--${pageName}" class="form-control w-px-150 text-center fw-bold" readonly /> <input type="text" id="countStauts--${pageName}" class="form-control w-px-150 text-center fw-bold" readonly />
<button type="button" class="w-px-50" id="btnPrev--${pageName}">◀</button> <button type="button" class="w-px-50" id="btnPrev--${pageName}">◀</button>
<button type="button" class="w-px-50" id="btnNext--${pageName}">▶</button> <button type="button" class="w-px-50" id="btnNext--${pageName}">▶</button>
</div> </div>
<div class="col-md-8">
</div>
</div> </div>
<div class="row g-1"> <div class="row g-1">
@ -257,7 +256,6 @@
<button type="button" id="btnDataCopy--${pageName}" class="btn btn-primary">자료복사</button> <button type="button" id="btnDataCopy--${pageName}" class="btn btn-primary">자료복사</button>
<button type="button" id="btnHold--${pageName}" class="btn btn-primary">처리보류</button> <button type="button" id="btnHold--${pageName}" class="btn btn-primary">처리보류</button>
<button type="button" id="btnOpenCvlcptOrgnl--${pageName}" class="btn btn-primary">원본보기</button> <button type="button" id="btnOpenCvlcptOrgnl--${pageName}" class="btn btn-primary">원본보기</button>
<button type="button" id="btnReset--${pageName}" class="btn btn-primary">초기화</button>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save