|
@@ -229,12 +229,11 @@ public class ExtracurricularExercisesReplyServiceImpl extends BaseServiceImpl<Lo
|
|
|
||Objects.isNull(studentExercise.getCreateTime())){
|
|
|
continue;
|
|
|
}
|
|
|
- if(studentExercise.getSubmitTime().after(studentExercise.getCreateTime())){
|
|
|
+ if(!new Integer(1).equals(studentExercise.getIsReplied())){
|
|
|
continue;
|
|
|
}
|
|
|
exercisesMessageNum+=1;
|
|
|
- int hours = DateUtil.hoursBetween(studentExercise.getSubmitTime(), studentExercise.getCreateTime());
|
|
|
- if(hours<=12){
|
|
|
+ if(new Integer(1).equals(studentExercise.getIsRepliedTimely())){
|
|
|
exercisesMessageTimelyNum+=1;
|
|
|
}
|
|
|
}
|