|
@@ -347,7 +347,7 @@ public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMappe
|
|
|
|
|
|
|
|
|
CourseSectionVo courseSectionVo =iCourseSectionService.queryById(bo.getSectionId());
|
|
|
- if(Validator.isEmpty(courseSectionVo)){
|
|
|
+ if(Validator.isEmpty(courseSectionVo)||Validator.isEmpty(bo.getSectionId())){
|
|
|
throw new CustomException("节数据错误");
|
|
|
}
|
|
|
GoodsVo goodsVo = iGoodsService.queryById(bo.getGoodsId());
|