提交 8aca096a authored 作者: zhouzhigang's avatar zhouzhigang

--no commit message

上级 0f5a24b7
......@@ -1449,10 +1449,10 @@ public class BookRecommendServiceImpl extends BaseModelServiceImpl<BookRecommend
List<UnSubmitRecommendVo> pendingData = detailsVoList
.parallelStream()
.map(r -> {
PublicLesson lesson = lessonMapper.selectByPrimaryKey(r.getLessonId());
if(StringUtils.isEmpty(r.getBookId())) {
throw new BaseException("课程名称为:" + lesson.getCourseDesign() + "没有推荐教材,请前往推荐");
}
// PublicLesson lesson = lessonMapper.selectByPrimaryKey(r.getLessonId());
// if(StringUtils.isEmpty(r.getBookId())) {
// throw new BaseException("课程名称为:" + lesson.getCourseDesign() + "没有推荐教材,请前往推荐");
// }
UnSubmitRecommendVo recommend = new UnSubmitRecommendVo();
recommend.setDepartmentId(r.getDepartmentId());
recommend.setMajorId(r.getMajorId());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论