From 8566d2a924804e5de49a1bae1075b5d5f5b8b406 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Thu, 31 Aug 2023 16:29:23 +0900 Subject: [PATCH] =?UTF-8?q?=EC=83=88=EC=98=AC=EC=9A=94=EC=B2=AD=20?= =?UTF-8?q?=ED=85=8C=EC=9D=B4=EB=B8=94=20=EC=BB=AC=EB=9F=BC=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sql/mapper/fims/cvlc/saCvlcptIndviDmnd-mapper.xml | 8 +++++++- src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc04010-main.jsp | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/main/resources/sql/mapper/fims/cvlc/saCvlcptIndviDmnd-mapper.xml b/src/main/resources/sql/mapper/fims/cvlc/saCvlcptIndviDmnd-mapper.xml index ba26575b..669232a1 100644 --- a/src/main/resources/sql/mapper/fims/cvlc/saCvlcptIndviDmnd-mapper.xml +++ b/src/main/resources/sql/mapper/fims/cvlc/saCvlcptIndviDmnd-mapper.xml @@ -19,7 +19,9 @@ SELECT SA.INDIV_ID WHERE USER_ID = SA.RGTR ) AS RGTR FROM TB_SA_CVLCPT_INDIV_DMND SA - WHERE SA.SGG_CD = #{sggCd} + WHERE SA.DEL_YN = 'N' + AND SA.SGG_CD = #{sggCd} + AND SA.TASK_SE_CD = #{taskSeCd} AND SA.DMND_YMD = ]]> #{schDmndYmdFrom} AND SA.DMND_YMD #{schDmndYmdTo} @@ -40,11 +42,13 @@ INSERT INTO TB_SA_CVLCPT_INDIV_DMND ( INDIV_ID , SGG_CD + , TASK_SE_CD , RCPT_YMD , PST_NO , DMND_YMD , DMND_SE_CD , STTS_CD + , DEL_YN , REG_DT , RGTR , MDFCN_DT @@ -53,11 +57,13 @@ INSERT VALUES ( #{indivId} , #{sggCd} + , #{taskSeCd} , REPLACE(#{rcptYmd},'-','') , LPAD(#{pstNo}, 6, '0') , , '1' , '0' + , 'N' , , #{modifiedBy} , diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc04010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc04010-main.jsp index 67d60156..54b2b158 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc04010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc04010-main.jsp @@ -422,6 +422,7 @@ $(document).ready(function(){ if(!customValidate($("#frmEdit--${pageName} input"))) return; var info = (new FimsFormFields("#frmEdit--${pageName}")).get(); + info.taskSeCd = $("#frmSearch--${pageName} input[name='taskSeCd']:checked").val(); ajax.get({ url : $P.dmndControl.urls.create,