|
@@ -287,7 +287,7 @@ public class ExtracurricularExercisesReplyServiceImpl extends BaseServiceImpl<Lo
|
|
|
LocalDate nowDate = LocalDateTime.now(DateUtil.zoneId).toLocalDate();
|
|
|
|
|
|
if(nowDate.getDayOfWeek()==DayOfWeek.MONDAY){
|
|
|
- int lastWeekTodayUpdateNum = studentExtracurricularExercisesSituationDao.findLastWeekTodayUpdateNum(nowDate.toString());
|
|
|
+ int lastWeekTodayUpdateNum = studentExtracurricularExercisesSituationDao.findLastWeekTodayUpdateNum(nowDate.plusDays(-1).toString());
|
|
|
if(lastWeekTodayUpdateNum<=0){
|
|
|
nowDate = nowDate.plusDays(-1);
|
|
|
}
|