|
@@ -371,6 +371,14 @@ public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMappe
|
|
if(Validator.isEmpty(courseSectionVo)||Validator.isEmpty(bo.getSectionId())){
|
|
if(Validator.isEmpty(courseSectionVo)||Validator.isEmpty(bo.getSectionId())){
|
|
throw new CustomException("节数据错误");
|
|
throw new CustomException("节数据错误");
|
|
}
|
|
}
|
|
|
|
+ ClassGradeUser gradeOgUser = iClassGradeUserService.getOne(new LambdaQueryWrapper<ClassGradeUser>()
|
|
|
|
+ .eq(ClassGradeUser::getUserId, bo.getUserId())
|
|
|
|
+ .eq(ClassGradeUser::getOrderGoodsId, bo.getOrderGoodsId())
|
|
|
|
+ .eq(ClassGradeUser::getGradeId, bo.getGradeId())
|
|
|
|
+ .last("limit 1"));
|
|
|
|
+ if(Validator.isEmpty(gradeOgUser)){
|
|
|
|
+ throw new CustomException("订单数据错误");
|
|
|
|
+ }
|
|
/*GoodsVo goodsVo = iGoodsService.queryById(bo.getGoodsId());
|
|
/*GoodsVo goodsVo = iGoodsService.queryById(bo.getGoodsId());
|
|
String fullName;
|
|
String fullName;
|
|
CourseBusinessQueryBo queryBusinessBo = new CourseBusinessQueryBo();
|
|
CourseBusinessQueryBo queryBusinessBo = new CourseBusinessQueryBo();
|