Revert "签到接口 临时处理为+3天"
This reverts commit 6a2af57fd3c4a8d9b10b21d81ad84bd814a004a8.
This commit is contained in:
parent
f7b95dee50
commit
d163eb8f72
@ -59,8 +59,6 @@ public class SignCheckInExe {
|
|||||||
|
|
||||||
int targetDayIndex = saudiToday.getDayOfWeek().getValue();
|
int targetDayIndex = saudiToday.getDayOfWeek().getValue();
|
||||||
|
|
||||||
targetDayIndex = targetDayIndex +3;
|
|
||||||
|
|
||||||
ResponseAssert.isTrue(OtherErrorCode.SIGN_IN_CANNOT_ADVANCE,
|
ResponseAssert.isTrue(OtherErrorCode.SIGN_IN_CANNOT_ADVANCE,
|
||||||
targetDayIndex >= 1);
|
targetDayIndex >= 1);
|
||||||
|
|
||||||
|
|||||||
@ -35,8 +35,6 @@ 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;
|
|
||||||
|
|
||||||
List<SignInDailyConfig> configs = dailyConfigDAO.selectList(
|
List<SignInDailyConfig> configs = dailyConfigDAO.selectList(
|
||||||
new LambdaQueryWrapper<SignInDailyConfig>()
|
new LambdaQueryWrapper<SignInDailyConfig>()
|
||||||
.orderByAsc(SignInDailyConfig::getDayIndex)
|
.orderByAsc(SignInDailyConfig::getDayIndex)
|
||||||
|
|||||||
@ -60,8 +60,6 @@ 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;
|
|
||||||
|
|
||||||
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