|
@@ -312,8 +312,8 @@ public class StudentInstrumentServiceImpl extends BaseServiceImpl<Long, StudentI
|
|
|
|
|
|
@Override
|
|
|
public Boolean pushNotice() {
|
|
|
- Date endTime = DateUtil.addDays(DateUtil.getLastTimeWithDay(new Date()), -6);
|
|
|
- Date startTime = DateUtil.trunc(endTime);
|
|
|
+ Date startTime = DateUtil.trunc(new Date());
|
|
|
+ Date endTime = DateUtil.addDays(DateUtil.getLastTimeWithDay(startTime), +6);
|
|
|
List<StudentInstrument> studentInstruments = studentInstrumentDao.getListByEndTime(startTime, endTime);
|
|
|
if (studentInstruments.size() <= 0) {
|
|
|
return false;
|