|
@@ -62,7 +62,7 @@ public class ExtracurricularExercisesServiceImpl extends BaseServiceImpl<Long, E
|
|
|
Teacher teacher = teacherDao.getLocked(exercises.getTeacherId());
|
|
|
|
|
|
ExtracurricularExercises repeatLastExercises = extracurricularExercisesDao.findRepeatLastExercises(exercises.getTeacherId(), exercises.getStudentIdList(), exercises.getContent());
|
|
|
- if(Objects.nonNull(repeatLastExercises)&&DateUtil.minutesBetween(repeatLastExercises.getCreateTime(),new Date())<60){
|
|
|
+ if(Objects.nonNull(repeatLastExercises)&&DateUtil.secondsBetween(repeatLastExercises.getCreateTime(),new Date())<60){
|
|
|
return;
|
|
|
}
|
|
|
|