|
@@ -1679,7 +1679,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
if(startTotalTime==0L||startTotalTime.longValue()>classPeriodSectionVo.getStudyStartTime().longValue()){
|
|
|
startTotalTime = classPeriodSectionVo.getStudyStartTime();
|
|
|
}
|
|
|
- if(endTotalTime==0L||endTotalTime.longValue()<classPeriodSectionVo.getStudyEndTime().longValue()){
|
|
|
+ if(endTotalTime==0L||(Validator.isNotEmpty(classPeriodSectionVo.getStudyEndTime())&&endTotalTime.longValue()<classPeriodSectionVo.getStudyEndTime().longValue())){
|
|
|
endTotalTime = classPeriodSectionVo.getStudyEndTime();
|
|
|
}
|
|
|
classPeriodSectionVo.setPeriodStatus(userPeriodStatusVo.getPeriodStatus());
|
|
@@ -1688,7 +1688,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
classPeriodSectionVo.setAuditTime(userPeriodStatusVo.getAuditTime());
|
|
|
classPeriodSectionVo.setAuditUserName(userPeriodStatusVo.getAuditUserName());
|
|
|
classPeriodSectionVo.setDurationTime(userPeriodStatusVo.getDurationTime());
|
|
|
- if(ChapterEndTime.longValue()<classPeriodSectionVo.getStudyEndTime().longValue()){
|
|
|
+ if(Validator.isNotEmpty(classPeriodSectionVo.getStudyEndTime())&&ChapterEndTime.longValue()<classPeriodSectionVo.getStudyEndTime().longValue()){
|
|
|
ChapterEndTime = classPeriodSectionVo.getStudyEndTime();
|
|
|
}
|
|
|
if(ChapterStartTime==0L||ChapterStartTime.longValue()>classPeriodSectionVo.getStudyStartTime().longValue()){
|
|
@@ -1730,7 +1730,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
if(startTotalTime==0L||startTotalTime.longValue()>classPeriodSectionVo.getStudyStartTime().longValue()){
|
|
|
startTotalTime = classPeriodSectionVo.getStudyStartTime();
|
|
|
}
|
|
|
- if(endTotalTime==0L||endTotalTime.longValue()<classPeriodSectionVo.getStudyEndTime().longValue()){
|
|
|
+ if(endTotalTime==0L||(Validator.isNotEmpty(classPeriodSectionVo.getStudyEndTime())&&endTotalTime.longValue()<classPeriodSectionVo.getStudyEndTime().longValue())){
|
|
|
endTotalTime = classPeriodSectionVo.getStudyEndTime();
|
|
|
}
|
|
|
classPeriodSectionVo.setPeriodStatus(userPeriodStatusVo.getPeriodStatus());
|
|
@@ -1739,7 +1739,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
classPeriodSectionVo.setAuditUserName(userPeriodStatusVo.getAuditUserName());
|
|
|
classPeriodSectionVo.setPeriodStatusId(userPeriodStatusVo.getId());
|
|
|
classPeriodSectionVo.setPerformance(Convert.toBigDecimal(userPeriodStatusVo.getPerformance()));
|
|
|
- if(ChapterEndTime.longValue()<classPeriodSectionVo.getStudyEndTime().longValue()){
|
|
|
+ if(Validator.isNotEmpty(classPeriodSectionVo.getStudyEndTime())&&ChapterEndTime.longValue()<classPeriodSectionVo.getStudyEndTime().longValue()){
|
|
|
ChapterEndTime = classPeriodSectionVo.getStudyEndTime();
|
|
|
}
|
|
|
if(ChapterStartTime==0L||ChapterStartTime.longValue()>classPeriodSectionVo.getStudyStartTime().longValue()){
|
|
@@ -1786,7 +1786,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
if(startTotalTime==0L||startTotalTime.longValue()>classPeriodChapterVo.getStudyStartTime().longValue()){
|
|
|
startTotalTime = classPeriodChapterVo.getStudyStartTime();
|
|
|
}
|
|
|
- if(endTotalTime==0L||endTotalTime.longValue()<classPeriodChapterVo.getStudyEndTime().longValue()){
|
|
|
+ if(endTotalTime==0L||(Validator.isNotEmpty(classPeriodChapterVo.getStudyEndTime())&&endTotalTime.longValue()<classPeriodChapterVo.getStudyEndTime().longValue())){
|
|
|
endTotalTime = classPeriodChapterVo.getStudyEndTime();
|
|
|
}
|
|
|
}
|
|
@@ -1826,7 +1826,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
if(startTotalTime==0L||startTotalTime.longValue()>classPeriodSectionVo.getStudyStartTime().longValue()){
|
|
|
startTotalTime = classPeriodSectionVo.getStudyStartTime();
|
|
|
}
|
|
|
- if(endTotalTime==0L||endTotalTime.longValue()<classPeriodSectionVo.getStudyEndTime().longValue()){
|
|
|
+ if(endTotalTime==0L||(Validator.isNotEmpty(classPeriodSectionVo.getStudyEndTime())&&endTotalTime.longValue()<classPeriodSectionVo.getStudyEndTime().longValue())){
|
|
|
endTotalTime = classPeriodSectionVo.getStudyEndTime();
|
|
|
}
|
|
|
classPeriodSectionVo.setPeriodStatus(userPeriodStatusVo.getPeriodStatus());
|
|
@@ -1835,7 +1835,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
classPeriodSectionVo.setAuditTime(userPeriodStatusVo.getAuditTime());
|
|
|
classPeriodSectionVo.setAuditUserName(userPeriodStatusVo.getAuditUserName());
|
|
|
classPeriodSectionVo.setDurationTime(userPeriodStatusVo.getDurationTime());
|
|
|
- if(ChapterEndTime.longValue()<classPeriodSectionVo.getStudyEndTime().longValue()){
|
|
|
+ if(Validator.isNotEmpty(classPeriodSectionVo.getStudyEndTime())&&ChapterEndTime.longValue()<classPeriodSectionVo.getStudyEndTime().longValue()){
|
|
|
ChapterEndTime = classPeriodSectionVo.getStudyEndTime();
|
|
|
}
|
|
|
if(ChapterStartTime==0L||ChapterStartTime.longValue()>classPeriodSectionVo.getStudyStartTime().longValue()){
|
|
@@ -1878,7 +1878,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
if(startTotalTime==0L||startTotalTime.longValue()>classPeriodSectionVo.getStudyStartTime().longValue()){
|
|
|
startTotalTime = classPeriodSectionVo.getStudyStartTime();
|
|
|
}
|
|
|
- if(endTotalTime==0L||endTotalTime.longValue()<classPeriodSectionVo.getStudyEndTime().longValue()){
|
|
|
+ if(endTotalTime==0L||(Validator.isNotEmpty(classPeriodSectionVo.getStudyEndTime())&&endTotalTime.longValue()<classPeriodSectionVo.getStudyEndTime().longValue())){
|
|
|
endTotalTime = classPeriodSectionVo.getStudyEndTime();
|
|
|
}
|
|
|
classPeriodSectionVo.setPeriodStatus(userPeriodStatusVo.getPeriodStatus());
|
|
@@ -1888,7 +1888,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
classPeriodSectionVo.setAuditUserName(userPeriodStatusVo.getAuditUserName());
|
|
|
classPeriodSectionVo.setPerformance(Convert.toBigDecimal(userPeriodStatusVo.getPerformance()));
|
|
|
classPeriodVo.setPerformance(Convert.toBigDecimal(userPeriodStatusVo.getPerformance()));
|
|
|
- if(ChapterEndTime.longValue()<classPeriodSectionVo.getStudyEndTime().longValue()){
|
|
|
+ if(Validator.isNotEmpty(classPeriodSectionVo.getStudyEndTime())&&ChapterEndTime.longValue()<classPeriodSectionVo.getStudyEndTime().longValue()){
|
|
|
ChapterEndTime = classPeriodSectionVo.getStudyEndTime();
|
|
|
}
|
|
|
if(ChapterStartTime==0L||ChapterStartTime.longValue()>classPeriodSectionVo.getStudyStartTime().longValue()){
|
|
@@ -1935,7 +1935,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
if(startTotalTime==0L||startTotalTime.longValue()>classPeriodVo.getStudyStartTime().longValue()){
|
|
|
startTotalTime = classPeriodVo.getStudyStartTime();
|
|
|
}
|
|
|
- if(endTotalTime==0L||endTotalTime.longValue()<classPeriodVo.getStudyEndTime().longValue()){
|
|
|
+ if(endTotalTime==0L||(Validator.isNotEmpty(classPeriodVo.getStudyEndTime())&&endTotalTime.longValue()<classPeriodVo.getStudyEndTime().longValue())){
|
|
|
endTotalTime = classPeriodVo.getStudyEndTime();
|
|
|
}
|
|
|
classPeriodVo.setPeriodStatus(userPeriodStatusVo.getPeriodStatus());
|