|
|
@@ -763,7 +763,7 @@ public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMappe
|
|
|
|
|
|
@Override
|
|
|
public List<ClassPeriodVo> menuAllListWithExam(UserStudyRecordQueryBo bo) {
|
|
|
- if(Validator.isEmpty(bo.getCourseId())){
|
|
|
+ if(Validator.isEmpty(bo.getCourseId())||Validator.isEmpty(bo.getOrderGoodsId())){
|
|
|
throw new CustomException("参数缺失");
|
|
|
}
|
|
|
//存储整个目录节列表
|
|
|
@@ -848,6 +848,7 @@ public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMappe
|
|
|
section.setGradeId(bo.getGradeId());
|
|
|
section.setUserId(bo.getUserId());
|
|
|
section.setCourseId(bo.getCourseId());
|
|
|
+ section.setOrderGoodsId(bo.getOrderGoodsId());
|
|
|
if(section.getType()<4){
|
|
|
section.setStudyStatus(baseMapper.getStudyStatus(section));
|
|
|
}else{
|