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