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,