From 2f7465a38ce1f21c0d67d3c6a0e839249f2deabe Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Thu, 8 Feb 2024 15:49:25 +0900 Subject: [PATCH] =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xit/fims/epst/web/Epst02Controller.java | 3 +-- .../sql/mapper/fims/cmmn/stng-mapper.xml | 20 +++++++++++++++++-- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/src/main/java/cokr/xit/fims/epst/web/Epst02Controller.java b/src/main/java/cokr/xit/fims/epst/web/Epst02Controller.java index 9d13bc37..a9e19d14 100644 --- a/src/main/java/cokr/xit/fims/epst/web/Epst02Controller.java +++ b/src/main/java/cokr/xit/fims/epst/web/Epst02Controller.java @@ -273,8 +273,7 @@ public class Epst02Controller extends ApplicationController { ManagedUser managedUser = (ManagedUser)currentUser().getUser(); // 부서 정보 - DataObject deptInfo = deptService.getDeptInfo(new CmmnQuery().setSggCd(managedUser.getOrgID()) - .setDeptCd(managedUser.getDeptCode())); + DataObject deptInfo = stngBean.getStng("dept"); // View(jsp)에서 사용할 공통코드를 조회 Map> commonCodes = getCodesOf("FIM054"); diff --git a/src/main/resources/sql/mapper/fims/cmmn/stng-mapper.xml b/src/main/resources/sql/mapper/fims/cmmn/stng-mapper.xml index c4f83b90..5195a47d 100644 --- a/src/main/resources/sql/mapper/fims/cmmn/stng-mapper.xml +++ b/src/main/resources/sql/mapper/fims/cmmn/stng-mapper.xml @@ -25,11 +25,27 @@ SELECT DEPT_CD , DEPT_NM , DEPT_TELNO , DEPT_FXNO - , DTBN_BANK_NM - , DTBN_ACTNO , CVLCPT_LINK_SE_CD + , VRBACNT_LINK_SE_CD + , PSTOFC_NM + , RG_NO_HEADER + , SNDNG_LINK_SE_CD + , EGP_CON_ORG + , EGP_RCEPT_ID + , EGP_APVL_NB + , EGP_ESB_PATH + , EGP_POST_INST_ID + , EGP_CERT_CN + , ENS_INTERFACE_ID + , ENS_SOURCE_CD + , ENS_TARGET_CD + , ENS_URL , NXRP_LINK_YN , NXRP_RGN_SE_CD + , DTBN_BANK_NM + , DTBN_ACTNO + , DOC_HEADER + , SRVR_OS FROM TB_DEPT WHERE DEPT_CD = #{deptCd}