Commit 03acb059 authored by root's avatar root

修改接口

parent 882e5fa5
......@@ -320,6 +320,7 @@ public class BLessonServiceImpl implements BLessonService {
//更新课程表recommend字段
BLesson bLesson =new BLesson();
UserUtil.setCurrentMergeOperation(bLesson);
bLesson.setBusinessId(recommendLessonDTO.getLessonId());
bLesson.setRecommend("1");
bLessonRepository.updateByPrimaryKeySelective(bLesson);
//插入推荐表
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment