|
@@ -207,6 +207,8 @@ public class CourseServiceImpl extends ServiceImpl<CourseMapper, Course> impleme
|
|
|
secLong = new BigDecimal(secLong.toString()).add(new BigDecimal(subjectStudyRecordVo.getSectionNum().toString())).longValue();
|
|
|
studyLong = new BigDecimal(studyLong.toString()).add(new BigDecimal(subjectStudyRecordVo.getRecordNum().toString())).longValue();
|
|
|
}
|
|
|
+ goodsPeriodVo.setPending(secLong-goodsPeriodVo.getPass()-goodsPeriodVo.getCheat());
|
|
|
+ goodsPeriodVo.setExamPending(goodsPeriodVo.getExamNum()-goodsPeriodVo.getExamPass()-goodsPeriodVo.getExamCheat());
|
|
|
if (secLong.equals(studyLong) && goodsPeriodVo.getExamNum().equals(goodsPeriodVo.getRecordNum())) {
|
|
|
if (goodsPeriodVo.getCheat() != 0 || goodsPeriodVo.getExamCheat() != 0) {
|
|
|
goodsPeriodVo.setPeriodStatus(3L);
|