From 49d78837690d4a38f0cd0e19e5149435688a93ea Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Wed, 16 Aug 2023 15:04:58 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A3=BC=EC=84=9D=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/fims/crdn/dao/Crdn05Mapper.java | 4 ++++ src/main/resources/sql/mapper/fims/crdn/crdn-info-mapper.xml | 1 + src/main/resources/sql/mapper/fims/crdn/crdn05-mapper.xml | 3 +++ src/main/resources/sql/mapper/fims/cvlc/crdnCvlcpt-mapper.xml | 3 +-- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/main/java/cokr/xit/fims/crdn/dao/Crdn05Mapper.java b/src/main/java/cokr/xit/fims/crdn/dao/Crdn05Mapper.java index fe705604..d0c89acb 100644 --- a/src/main/java/cokr/xit/fims/crdn/dao/Crdn05Mapper.java +++ b/src/main/java/cokr/xit/fims/crdn/dao/Crdn05Mapper.java @@ -45,6 +45,10 @@ public interface Crdn05Mapper extends AbstractMapper { */ int selectBasicAmt(CrdnQuery query); + /**기관코드에 따른 시군구코드를 조회한다.
+ * @param institute 기관코드 + * @return 시군구코드 + */ String selectSggCd(String institute); default String selectSggCdForCurrentUser() { diff --git a/src/main/resources/sql/mapper/fims/crdn/crdn-info-mapper.xml b/src/main/resources/sql/mapper/fims/crdn/crdn-info-mapper.xml index 405151c8..f034a1f1 100644 --- a/src/main/resources/sql/mapper/fims/crdn/crdn-info-mapper.xml +++ b/src/main/resources/sql/mapper/fims/crdn/crdn-info-mapper.xml @@ -94,6 +94,7 @@ SELECT C.CRDN_ID , C.LINK_TBL_NM , C.LINK_ID , C.FFNLG_AMT + , P.RTPYR_ID , CC.CVLCPT_LINK_ID , CC.CVLCPT_TRSM_CD FROM TB_CRDN C diff --git a/src/main/resources/sql/mapper/fims/crdn/crdn05-mapper.xml b/src/main/resources/sql/mapper/fims/crdn/crdn05-mapper.xml index caadf6fe..e900e348 100644 --- a/src/main/resources/sql/mapper/fims/crdn/crdn05-mapper.xml +++ b/src/main/resources/sql/mapper/fims/crdn/crdn05-mapper.xml @@ -176,6 +176,7 @@ INSERT INTO TB_CRDN_ADI ( + \ No newline at end of file diff --git a/src/main/resources/sql/mapper/fims/cvlc/crdnCvlcpt-mapper.xml b/src/main/resources/sql/mapper/fims/cvlc/crdnCvlcpt-mapper.xml index abfb09dd..71ccf65d 100644 --- a/src/main/resources/sql/mapper/fims/cvlc/crdnCvlcpt-mapper.xml +++ b/src/main/resources/sql/mapper/fims/cvlc/crdnCvlcpt-mapper.xml @@ -469,8 +469,7 @@ SELECT A.ANS_WORDS_ID , VLTN_NMTM = #{crdn.vltnNmtm} - , CRDN_SE_CD = #{crdn.crdnSeCd} - , TEAM_ID = #{crdn.teamId} + , CRDN_SE_CD = #{crdn.crdnSeCd} , CRDN_BGNG_TM = #{crdn.crdnBgngTm} , CRDN_END_TM = #{crdn.crdnEndTm} , FFNLG_CARMDL_CD = #{crdn.ffnlglCarmdlCd}