From 8a40979f22aad161d19f2abeea40b0ff4ad8f9b2 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Fri, 29 Aug 2025 16:18:54 +0900 Subject: [PATCH] =?UTF-8?q?postplus=20=EC=A7=80=EC=9B=90=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/intf-conf/xit-postplus.conf | 18 ++- .../WEB-INF/jsp/fims/epst/epst02030-main.jsp | 147 +++++------------- .../WEB-INF/jsp/fims/epst/epst02050-main.jsp | 89 +++-------- .../WEB-INF/jsp/fims/sndb/sndb01040-info.jsp | 3 +- 4 files changed, 76 insertions(+), 181 deletions(-) diff --git a/src/main/resources/intf-conf/xit-postplus.conf b/src/main/resources/intf-conf/xit-postplus.conf index 93cf75f..c50503d 100644 --- a/src/main/resources/intf-conf/xit-postplus.conf +++ b/src/main/resources/intf-conf/xit-postplus.conf @@ -1,12 +1,20 @@ { "host": "https://t.postplus.co.kr", /* API 서비스 호스트 */ "version": "v1.10", - /* API 키 */ - "apiKeys": { - "site0": "00197D16F7FE4A84E9C97F55033339FBE07C8850882FFA26F3E538E0DDF0DB1EFEEC3DB451AE1EE011776DEB1505120A556942FA98240AADD3A73F085313AF693545931B338D1B92365F5B1A8AEBC939E33" - } + "sendRequest": false, // 서비스 실제 호출 여부 + + "apis": [ // 사용기관별 서비스 호출 시 설정 + { + "name": "default", + "key": "00197D16F7FE4A84E9C97F55033339FBE07C8850882FFA26F3E538E0DDF0DB1EFEEC3DB451AE1EE011776DEB1505120A556942FA98240AADD3A73F085313AF693545931B338D1B92365F5B1A8AEBC939E33", + "systemCode": "" + } + ] /* - , "test": true + "valueMapper": "cokr.xit.interfaces.postplus.post.ValueMapper" // apis <- valueMapper 클래스 이름 + + "test": true, // 테스트 여부 + "logTable": false, // 요청 결과 테이블 저장 여부 "urls": { // 지정하지 않으면 디폴트 URL 사용 "requestProduction": "우편제작 신청 URL", "productionStatus": "신청우편 상태조회 URL" diff --git a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02030-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02030-main.jsp index 3c6c50f..dc0ccf5 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02030-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02030-main.jsp @@ -1,76 +1,56 @@ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> - 전자우편 발송 현황 -
-
-
- + - - + +
- - -
+ - -
@@ -386,7 +327,6 @@ }); } - // 검색 버튼 이벤트 $P.fnSearchList = (tabName) => { // validate 확인 if (!AppSupport.customValidate($P.$findn("frmSearch").find("input,select,textarea"))) return; @@ -435,7 +375,6 @@ $P.ctrl.load(1); } - // 엑셀 버튼 이벤트 $P.fnExcel = () => { if ($P.ctrl.dataset.empty) return dialog.alert("검색된 " + $P.ctrl.prefixName + " 정보가 없습니다."); @@ -449,7 +388,6 @@ $P.ctrl.download(); } - // 발송 취소 버튼 이벤트 $P.fnUpdateCancel = (btnTitle) => { // 외부연계식별 키가 없다면.. 입력 let conKey = $P.ctrl.getValue("CON_KEY"); @@ -485,14 +423,11 @@ }); } - // 발송 삭제 버튼 이벤트 $P.fnRemove = (btnTitle) => { let selected = $P.ctrl.getDataset("selected"); // 선택 자료 - if (selected.length < 1) return dialog.alert("선택하신 " + $P.ctrl.prefixName + " 정보가 없습니다."); - // let tabName = $P.$findn("tabMain").find("button.active").text().trim(); if ("발송취소,전송,제작불가".indexOf(tabName) < 0 ) return dialog.alert({ @@ -521,7 +456,6 @@ /************************************************************************** * 초기 설정 **************************************************************************/ - // 이벤트 $P.setEvent = () => { // 기본 버튼 이벤트 $P.$findn("btnReset").on("click", () => $P.fnResetAndChangeBiz()); // 초기화 @@ -546,7 +480,6 @@ Componentization.fnMakeScrollableTable($P.findn("tableRspns"), $P.scrollDataList); } - // 초기화 이벤트 $P.fnReset = (taskSeCd) => { // 초기화 $P.findn("frmSearch").reset(); // 화면 초기화 @@ -578,14 +511,8 @@ /************************************************************************** * 최초 실행 함수 **************************************************************************/ - // 1. 이벤트 설정 - $P.setEvent(); - - // 2. 초기 설정 및 업무 구분 변경 - $P.fnResetAndChangeBiz($("#layout-navbar input[name='taskSeCd']:checked").val()); - - // 3. 보안모드 - fn_securityModeToggle($("#securityMode--top").is(":checked")); + $P.setEvent(); // 1. 이벤트 설정 + $P.fnResetAndChangeBiz($("#layout-navbar input[name='taskSeCd']:checked").val()); // 2. 초기 설정 및 업무 구분 변경 + fn_securityModeToggle($("#securityMode--top").is(":checked")); // 3. 보안모드 }); - - + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02050-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02050-main.jsp index 8affa36..2e540d8 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02050-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02050-main.jsp @@ -1,38 +1,24 @@ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> - 전자우편 접수 결과 -
-
-
- + - - + +
- - -
- + <%-- 검색 조건 영역 --%> - - <%-- 메인 조건 --%> - -