From d163eb8f721fc8f2fdff39f5e6751fbe7b425063 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Tue, 20 Jan 2026 16:43:34 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E7=AD=BE=E5=88=B0=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=20=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 This reverts commit 6a2af57fd3c4a8d9b10b21d81ad84bd814a004a8. --- .../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 deletions(-) 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 d674c893..b9dd6487 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,8 +59,6 @@ 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 de825567..bad70f88 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,8 +35,6 @@ 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 822d7f56..5b71828d 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,8 +60,6 @@ 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);