From 2a70a2d118d2c5aa83ab93fdcc2fb3bb8a672c65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EC=84=B1=EC=98=81?= Date: Fri, 28 Nov 2025 17:48:56 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B3=BC=ED=83=9C=EB=A3=8C=20=EB=8C=80?= =?UTF-8?q?=EC=83=81=20=EB=AA=A9=EB=A1=9D=20=EC=A1=B0=ED=9A=8C=20=EB=B3=B4?= =?UTF-8?q?=EC=99=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../registration/service/impl/CarFfnlgTrgtServiceImpl.java | 1 + .../registration/CarFfnlgTrgtMapper_maria.xml | 1 + .../WEB-INF/views/carInspectionPenalty/registration/list.jsp | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) 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("");