|
@@ -2964,7 +2964,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
startTotalTime = classPeriodSectionVo.getStudyStartTime();
|
|
|
}
|
|
|
}
|
|
|
- if (endTotalTime == 0L || (Validator.isNotEmpty(classPeriodSectionVo.getStudyEndTime()) && endTotalTime.longValue() < classPeriodSectionVo.getStudyEndTime().longValue())) {
|
|
|
+ if ((endTotalTime == 0L&&Validator.isNotEmpty(classPeriodSectionVo.getStudyEndTime())) || (Validator.isNotEmpty(classPeriodSectionVo.getStudyEndTime()) && endTotalTime.longValue() < classPeriodSectionVo.getStudyEndTime().longValue())) {
|
|
|
endTotalTime = classPeriodSectionVo.getStudyEndTime();
|
|
|
}
|
|
|
classPeriodSectionVo.setPeriodStatus(userPeriodStatusVo.getPeriodStatus());
|