|
|
@@ -223,6 +223,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
}
|
|
|
classPeriodSectionVo.setModuleId(classPeriodVo.getId());
|
|
|
classPeriodSectionVo.setChapterId(classPeriodChapterVo.getId());
|
|
|
+ classPeriodSectionVo.setGoodsId(bo.getGoodsId());
|
|
|
}else {
|
|
|
UserPeriodQueryBo userPeriodQueryBo = new UserPeriodQueryBo();
|
|
|
userPeriodQueryBo.setExamId(classPeriodSectionVo.getId());
|
|
|
@@ -245,6 +246,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
}
|
|
|
classPeriodSectionVo.setModuleId(classPeriodVo.getId());
|
|
|
classPeriodSectionVo.setChapterId(classPeriodChapterVo.getId());
|
|
|
+ classPeriodSectionVo.setGoodsId(bo.getGoodsId());
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -277,6 +279,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
}
|
|
|
classPeriodSectionVo.setModuleId(0L);
|
|
|
classPeriodSectionVo.setChapterId(classPeriodVo.getId());
|
|
|
+ classPeriodSectionVo.setGoodsId(bo.getGoodsId());
|
|
|
}
|
|
|
List<ClassPeriodSectionVo> classPeriodSectionVos1 = baseMapper.listPeriodSectionExam(classPeriodVo.getId(), bo.getGoodsId(), classPeriodVo.getCourseId(), bo.getUserId());
|
|
|
for (ClassPeriodSectionVo classPeriodSectionVo : classPeriodSectionVos1) {
|
|
|
@@ -301,6 +304,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
}
|
|
|
classPeriodSectionVo.setModuleId(0L);
|
|
|
classPeriodSectionVo.setChapterId(classPeriodVo.getId());
|
|
|
+ classPeriodSectionVo.setGoodsId(bo.getGoodsId());
|
|
|
}
|
|
|
classPeriodSectionVos.addAll(classPeriodSectionVos1);
|
|
|
classPeriodVo.setClassPeriodSectionList(classPeriodSectionVos);
|
|
|
@@ -311,7 +315,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
userPeriodQueryBo.setCourseId(classPeriodVo.getCourseId());
|
|
|
userPeriodQueryBo.setGoodsId(bo.getGoodsId());
|
|
|
userPeriodQueryBo.setUserId(classPeriodVo.getUserId());
|
|
|
- userPeriodQueryBo.setChapterId(classPeriodVo.getId());
|
|
|
+ userPeriodQueryBo.setChapterId(0L);
|
|
|
userPeriodQueryBo.setModuleId(0L);
|
|
|
List<UserPeriodStatusVo> userPeriodStatusVos = userPeriodStatusService.selectPeriodStatus(userPeriodQueryBo);
|
|
|
if (!CollectionUtils.isEmpty(userPeriodStatusVos)){
|
|
|
@@ -327,6 +331,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
}
|
|
|
classPeriodVo.setModuleId(0L);
|
|
|
classPeriodVo.setChapterId(0L);
|
|
|
+ classPeriodVo.setGoodsId(bo.getGoodsId());
|
|
|
classPeriodVo.setUserPeriodStatusVos(userPeriodStatusVos);
|
|
|
}
|
|
|
|