diff --git a/src/main/java/go/kr/project/carInspectionPenalty/registration/service/impl/CarFfnlgTrgtServiceImpl.java b/src/main/java/go/kr/project/carInspectionPenalty/registration/service/impl/CarFfnlgTrgtServiceImpl.java index c50c081..1b1e5cf 100644 --- a/src/main/java/go/kr/project/carInspectionPenalty/registration/service/impl/CarFfnlgTrgtServiceImpl.java +++ b/src/main/java/go/kr/project/carInspectionPenalty/registration/service/impl/CarFfnlgTrgtServiceImpl.java @@ -1062,6 +1062,7 @@ public class CarFfnlgTrgtServiceImpl extends EgovAbstractServiceImpl implements List updatedRows = modifyData.getUpdatedRows(); if (updatedRows != null && !updatedRows.isEmpty()) { for (CarFfnlgTrgtVO vo : updatedRows) { + vo.setTaskPrcsYmd(LocalDate.now().format(DATE_FORMATTER)); result += mapper.updateTaskPrcsSttsCdAndRmrk(vo); } } diff --git a/src/main/resources/mybatis/mapper/carInspectionPenalty/registration/CarFfnlgTrgtMapper_maria.xml b/src/main/resources/mybatis/mapper/carInspectionPenalty/registration/CarFfnlgTrgtMapper_maria.xml index d837350..0961092 100644 --- a/src/main/resources/mybatis/mapper/carInspectionPenalty/registration/CarFfnlgTrgtMapper_maria.xml +++ b/src/main/resources/mybatis/mapper/carInspectionPenalty/registration/CarFfnlgTrgtMapper_maria.xml @@ -248,6 +248,7 @@ UPDATE tb_car_ffnlg_trgt SET TASK_PRCS_STTS_CD = #{taskPrcsSttsCd}, + TASK_PRCS_YMD = #{taskPrcsYmd}, RMRK = #{rmrk} WHERE CAR_FFNLG_TRGT_ID = #{carFfnlgTrgtId} AND DEL_DT IS NULL diff --git a/src/main/webapp/WEB-INF/views/carInspectionPenalty/registration/list.jsp b/src/main/webapp/WEB-INF/views/carInspectionPenalty/registration/list.jsp index 7dfb141..ae48e92 100644 --- a/src/main/webapp/WEB-INF/views/carInspectionPenalty/registration/list.jsp +++ b/src/main/webapp/WEB-INF/views/carInspectionPenalty/registration/list.jsp @@ -609,8 +609,8 @@ // 초기화 버튼 클릭 $("#reset_btn").on('click', function() { - $("#schRcptYmdStart").val(""); - $("#schRcptYmdEnd").val(""); + $("#schRcptYmdStart").val("${dateUtil:getCurrentDateAddDays('yyyy-MM-dd', -15)}"); + $("#schRcptYmdEnd").val("${dateUtil:getCurrentDateTime('yyyy-MM-dd')}"); $("#schInspYmdStart").val(""); $("#schInspYmdEnd").val(""); $("#schVhclno").val("");