From 6a2af57fd3c4a8d9b10b21d81ad84bd814a004a8 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Mon, 19 Jan 2026 21:32:47 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=BE=E5=88=B0=E6=8E=A5=E5=8F=A3=20?= =?UTF-8?q?=E4=B8=B4=E6=97=B6=E5=A4=84=E7=90=86=E4=B8=BA+3=E5=A4=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/red/circle/other/app/command/signin/SignCheckInExe.java | 2 ++ .../circle/other/app/command/signin/SignInStatusQueryExe.java | 2 ++ .../circle/other/app/command/signin/SupplementCheckInExe.java | 2 ++ 3 files changed, 6 insertions(+) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SignCheckInExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SignCheckInExe.java index f4a3c8df..16e86afb 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SignCheckInExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SignCheckInExe.java @@ -59,6 +59,8 @@ public class SignCheckInExe { int targetDayIndex = saudiToday.getDayOfWeek().getValue(); + targetDayIndex = targetDayIndex +3; + ResponseAssert.isTrue(OtherErrorCode.SIGN_IN_CANNOT_ADVANCE, targetDayIndex >= 1); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SignInStatusQueryExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SignInStatusQueryExe.java index bad70f88..de825567 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SignInStatusQueryExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SignInStatusQueryExe.java @@ -35,6 +35,8 @@ public class SignInStatusQueryExe { LocalDate weekStartDate = saudiToday.with(DayOfWeek.MONDAY); int currentDayIndex = saudiToday.getDayOfWeek().getValue(); + currentDayIndex = currentDayIndex + 3; + List configs = dailyConfigDAO.selectList( new LambdaQueryWrapper() .orderByAsc(SignInDailyConfig::getDayIndex) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SupplementCheckInExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SupplementCheckInExe.java index 53a619a9..53a2271b 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SupplementCheckInExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/signin/SupplementCheckInExe.java @@ -60,6 +60,8 @@ public class SupplementCheckInExe { LocalDate weekStartDate = saudiToday.with(DayOfWeek.MONDAY); int currentDayIndex = saudiToday.getDayOfWeek().getValue(); + currentDayIndex = currentDayIndex + 3; + ResponseAssert.isTrue(OtherErrorCode.SIGN_IN_SUPPLEMENT_ONLY_PAST, targetDayIndex < currentDayIndex);