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}