From 405adf3e858c658d66c1d3936615f50b0fc6aecf Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Fri, 16 Feb 2024 15:43:00 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B6=80=EC=84=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fims/mngt/FineIntegrationDepartment.java | 29 ----------- .../sql/mapper/fims/mngt/faction-mapper.xml | 36 ++++++------- .../WEB-INF/jsp/fims/crdn/crdn05020-info.jsp | 2 +- .../WEB-INF/jsp/fims/mngt/mngt04010-main.jsp | 2 +- .../WEB-INF/jsp/fims/mngt/mngt04020-info.jsp | 51 ++++++++++++++++++- 5 files changed, 70 insertions(+), 50 deletions(-) diff --git a/src/main/java/cokr/xit/fims/mngt/FineIntegrationDepartment.java b/src/main/java/cokr/xit/fims/mngt/FineIntegrationDepartment.java index 3a17c0aa..d1e83639 100644 --- a/src/main/java/cokr/xit/fims/mngt/FineIntegrationDepartment.java +++ b/src/main/java/cokr/xit/fims/mngt/FineIntegrationDepartment.java @@ -11,35 +11,6 @@ import lombok.Setter; @Getter @Setter public class FineIntegrationDepartment extends Department { - /** - * 부서 코드 - */ - private String deptCd; - - /** - * 시군구 코드 - */ - private String sggCd; - - /** - * 기관 코드 - */ - private String instCd; - - /** - * 부서 명 - */ - private String deptNm; - - /** - * 부서 전화번호 - */ - private String deptTelno; - - /** - * 부서 팩스번호 - */ - private String deptFxno; /** * 가상계좌 연계 구분 코드 diff --git a/src/main/resources/sql/mapper/fims/mngt/faction-mapper.xml b/src/main/resources/sql/mapper/fims/mngt/faction-mapper.xml index 57a5df5b..9a08c59d 100644 --- a/src/main/resources/sql/mapper/fims/mngt/faction-mapper.xml +++ b/src/main/resources/sql/mapper/fims/mngt/faction-mapper.xml @@ -156,12 +156,12 @@ UPDATE TB_SGG - - - - - - + + + + + + @@ -289,12 +289,12 @@ UPDATE TB_SGG , MDFCN_DT , MDFR ) VALUES ( - #{dept.deptCd} - , #{dept.sggCd} - , #{dept.instCd} - , #{dept.deptNm} - , #{dept.deptTelno} - , #{dept.deptFxno} + #{dept.deptID} + , #{dept.sggID} + , #{dept.instCode} + , #{dept.name} + , #{dept.telno} + , #{dept.faxno} , #{dept.vrbacntLinkSeCd} , #{dept.pstofcNm} , #{dept.rgNoHeader} @@ -322,11 +322,11 @@ UPDATE TB_SGG /* 부서 수정(factionMapper.updateDept) */ UPDATE TB_DEPT - SET SGG_CD = #{dept.sggCd} - , INST_CD = #{dept.instCd} - , DEPT_NM = #{dept.deptNm} - , DEPT_TELNO = #{dept.deptTelno} - , DEPT_FXNO = #{dept.deptFxno} + SET SGG_CD = #{dept.sggID} + , INST_CD = #{dept.instCode} + , DEPT_NM = #{dept.name} + , DEPT_TELNO = #{dept.telno} + , DEPT_FXNO = #{dept.faxno} , VRBACNT_LINK_SE_CD = #{dept.vrbacntLinkSeCd} , PSTOFC_NM = #{dept.pstofcNm} , RG_NO_HEADER = #{dept.rgNoHeader} @@ -345,7 +345,7 @@ UPDATE TB_SGG , SRVR_OS = #{dept.srvrOs} , MDFCN_DT = , MDFR = #{dept.modifiedBy} - WHERE DEPT_CD = #{dept.deptCd} + WHERE DEPT_CD = #{dept.deptID} AND USE_YN = 'Y' diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05020-info.jsp index 789b6b1f..ba811071 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05020-info.jsp @@ -136,7 +136,7 @@