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 5ff189c2..25e23a59 100644 --- a/src/main/resources/sql/mapper/fims/crdn/crdn05-mapper.xml +++ b/src/main/resources/sql/mapper/fims/crdn/crdn05-mapper.xml @@ -80,7 +80,7 @@ INSERT INTO TB_CRDN ( , LINK_TBL_NM ) VALUES ( #{crdn.crdnId} - , #{crdn.sggCd} + , (SELECT SGG_CD FROM TB_SGG_INFO WHERE INST_CD = #{currentUser.institute}) , #{crdn.crdnRegSeCd} , #{crdn.crdnInptSeCd} , #{crdn.linkId} @@ -94,10 +94,13 @@ INSERT INTO TB_CRDN ( , #{crdn.crdnPlc} , #{crdn.dtlCrdnPlc} , #{crdn.teamId} - , (SELECT VLTN_ID FROM TB_VLTN_INFO - WHERE SGG_CD = '41480' - AND TASK_SE_CD = #{crdn.taskSeCd} - AND VLTN_CD = #{crdn.vltnCd}) + , (SELECT B.VLTN_ID + FROM TB_SGG_INFO A + INNER JOIN TB_VLTN_INFO B + WHERE A.SGG_CD = B.SGG_CD + AND A.INST_CD = #{currentUser.institute} + AND B.TASK_SE_CD = #{crdn.taskSeCd} + AND B.VLTN_CD = #{crdn.vltnCd}) , #{crdn.crdnSpareaCd} , #{crdn.crdnBgngTm} , #{crdn.crdnEndHr} diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp index b3bc076c..c7d14441 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp @@ -13,7 +13,7 @@ 위반일자 + class="form-control form-date" data-fmt-type="day" maxlength="10" required />