From 8eff4f5772bf6ade5249dda01c43897dfaa5ae57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=ED=98=84=EC=A3=BC?= Date: Tue, 1 Jul 2025 11:23:06 +0900 Subject: [PATCH] =?UTF-8?q?[1=EC=B0=A8][FO]=2015=EC=9D=BC=EC=A0=84?= =?UTF-8?q?=EA=B9=8C=EC=A7=80=20=EB=8D=B0=EC=9D=B4=ED=84=B0=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20=EA=B0=80=EB=8A=A5,=20=EC=88=98=EC=9E=85=EC=99=B8?= =?UTF-8?q?=20=ED=95=AD=EB=AA=A9=EC=97=90=EC=84=9C=20=EC=88=98=EC=A0=95?= =?UTF-8?q?=EB=B6=88=EA=B0=80=EA=B8=B0=EA=B0=84=EC=97=90=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=EB=93=B1=EB=A1=9D=EC=9D=B4=20=EA=B0=80=EB=8A=A5?= =?UTF-8?q?=ED=95=9C=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/module/core/config/application/util/DailyUtil.java | 6 ++---- .../src/main/resources/templates/record/expense/index.html | 3 ++- .../src/main/resources/templates/record/farming/index.html | 3 ++- .../src/main/resources/templates/record/forestry/index.html | 3 ++- front/src/main/resources/templates/record/power/index.html | 3 ++- front/src/main/resources/templates/record/work/index.html | 3 ++- 6 files changed, 12 insertions(+), 9 deletions(-) diff --git a/core/src/main/java/app/module/core/config/application/util/DailyUtil.java b/core/src/main/java/app/module/core/config/application/util/DailyUtil.java index 247d6fb0..0e4be6a1 100644 --- a/core/src/main/java/app/module/core/config/application/util/DailyUtil.java +++ b/core/src/main/java/app/module/core/config/application/util/DailyUtil.java @@ -87,8 +87,7 @@ public class DailyUtil { * @return true=수정 가능, false=수정 불가 */ public boolean isModifiable(LocalDate startDate, LocalDate endDate) { - // TODO : 15일로 변경, 테스트를 위해 30일로 진행중 - LocalDate limitStart = LocalDate.now().minusDays(30); + LocalDate limitStart = LocalDate.now().minusDays(15); log.debug("isModifiable @@limitStart: {}, startDate: {}, endDate: {}", limitStart, startDate, endDate); return (limitStart.isBefore(startDate) || limitStart.isEqual(startDate) || limitStart.isEqual(endDate)); @@ -101,8 +100,7 @@ public class DailyUtil { * @return */ public boolean isRegisterPossible(LocalDate startDate, LocalDate endDate) { - // TODO : 15일로 변경, 테스트를 위해 60일로 진행중 - LocalDate limitStart = LocalDate.now().minusDays(60); + LocalDate limitStart = LocalDate.now().minusDays(15); log.debug("isRegisterPossible @@limitStart: {}, startDate: {}, endDate: {}", limitStart, startDate, endDate); return (limitStart.isBefore(startDate) || limitStart.isEqual(startDate)); diff --git a/front/src/main/resources/templates/record/expense/index.html b/front/src/main/resources/templates/record/expense/index.html index 95b8b5c9..c1fa1b2d 100644 --- a/front/src/main/resources/templates/record/expense/index.html +++ b/front/src/main/resources/templates/record/expense/index.html @@ -89,7 +89,8 @@ - diff --git a/front/src/main/resources/templates/record/farming/index.html b/front/src/main/resources/templates/record/farming/index.html index 918c23aa..b9ed6a39 100644 --- a/front/src/main/resources/templates/record/farming/index.html +++ b/front/src/main/resources/templates/record/farming/index.html @@ -87,7 +87,8 @@ - diff --git a/front/src/main/resources/templates/record/forestry/index.html b/front/src/main/resources/templates/record/forestry/index.html index d294ffb5..8324c0ba 100644 --- a/front/src/main/resources/templates/record/forestry/index.html +++ b/front/src/main/resources/templates/record/forestry/index.html @@ -87,7 +87,8 @@ - diff --git a/front/src/main/resources/templates/record/power/index.html b/front/src/main/resources/templates/record/power/index.html index da4f8544..bd07d638 100644 --- a/front/src/main/resources/templates/record/power/index.html +++ b/front/src/main/resources/templates/record/power/index.html @@ -77,7 +77,8 @@ - diff --git a/front/src/main/resources/templates/record/work/index.html b/front/src/main/resources/templates/record/work/index.html index 987d64f4..cb20f194 100644 --- a/front/src/main/resources/templates/record/work/index.html +++ b/front/src/main/resources/templates/record/work/index.html @@ -129,7 +129,8 @@ -