签到临时改为+6天

This commit is contained in:
tianfeng 2026-01-19 22:43:27 +08:00
parent 6a9716c46a
commit ae57bc67b7
3 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ public class SignCheckInExe {
int targetDayIndex = saudiToday.getDayOfWeek().getValue();
targetDayIndex = targetDayIndex +3;
targetDayIndex = targetDayIndex +6;
ResponseAssert.isTrue(OtherErrorCode.SIGN_IN_CANNOT_ADVANCE,
targetDayIndex >= 1);

View File

@ -35,7 +35,7 @@ public class SignInStatusQueryExe {
LocalDate weekStartDate = saudiToday.with(DayOfWeek.MONDAY);
int currentDayIndex = saudiToday.getDayOfWeek().getValue();
currentDayIndex = currentDayIndex + 3;
currentDayIndex = currentDayIndex + 6;
List<SignInDailyConfig> configs = dailyConfigDAO.selectList(
new LambdaQueryWrapper<SignInDailyConfig>()

View File

@ -60,7 +60,7 @@ public class SupplementCheckInExe {
LocalDate weekStartDate = saudiToday.with(DayOfWeek.MONDAY);
int currentDayIndex = saudiToday.getDayOfWeek().getValue();
currentDayIndex = currentDayIndex + 3;
currentDayIndex = currentDayIndex + 6;
ResponseAssert.isTrue(OtherErrorCode.SIGN_IN_SUPPLEMENT_ONLY_PAST,
targetDayIndex < currentDayIndex);