签到临时改为+6天
This commit is contained in:
parent
6a9716c46a
commit
ae57bc67b7
@ -59,7 +59,7 @@ public class SignCheckInExe {
|
|||||||
|
|
||||||
int targetDayIndex = saudiToday.getDayOfWeek().getValue();
|
int targetDayIndex = saudiToday.getDayOfWeek().getValue();
|
||||||
|
|
||||||
targetDayIndex = targetDayIndex +3;
|
targetDayIndex = targetDayIndex +6;
|
||||||
|
|
||||||
ResponseAssert.isTrue(OtherErrorCode.SIGN_IN_CANNOT_ADVANCE,
|
ResponseAssert.isTrue(OtherErrorCode.SIGN_IN_CANNOT_ADVANCE,
|
||||||
targetDayIndex >= 1);
|
targetDayIndex >= 1);
|
||||||
|
|||||||
@ -35,7 +35,7 @@ public class SignInStatusQueryExe {
|
|||||||
LocalDate weekStartDate = saudiToday.with(DayOfWeek.MONDAY);
|
LocalDate weekStartDate = saudiToday.with(DayOfWeek.MONDAY);
|
||||||
int currentDayIndex = saudiToday.getDayOfWeek().getValue();
|
int currentDayIndex = saudiToday.getDayOfWeek().getValue();
|
||||||
|
|
||||||
currentDayIndex = currentDayIndex + 3;
|
currentDayIndex = currentDayIndex + 6;
|
||||||
|
|
||||||
List<SignInDailyConfig> configs = dailyConfigDAO.selectList(
|
List<SignInDailyConfig> configs = dailyConfigDAO.selectList(
|
||||||
new LambdaQueryWrapper<SignInDailyConfig>()
|
new LambdaQueryWrapper<SignInDailyConfig>()
|
||||||
|
|||||||
@ -60,7 +60,7 @@ public class SupplementCheckInExe {
|
|||||||
LocalDate weekStartDate = saudiToday.with(DayOfWeek.MONDAY);
|
LocalDate weekStartDate = saudiToday.with(DayOfWeek.MONDAY);
|
||||||
int currentDayIndex = saudiToday.getDayOfWeek().getValue();
|
int currentDayIndex = saudiToday.getDayOfWeek().getValue();
|
||||||
|
|
||||||
currentDayIndex = currentDayIndex + 3;
|
currentDayIndex = currentDayIndex + 6;
|
||||||
|
|
||||||
ResponseAssert.isTrue(OtherErrorCode.SIGN_IN_SUPPLEMENT_ONLY_PAST,
|
ResponseAssert.isTrue(OtherErrorCode.SIGN_IN_SUPPLEMENT_ONLY_PAST,
|
||||||
targetDayIndex < currentDayIndex);
|
targetDayIndex < currentDayIndex);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user