Commit f18a2fd1 authored by liuyuanjun's avatar liuyuanjun

修改发布记录进入日志的bug

parent 8c75a431
...@@ -722,7 +722,9 @@ public class BLessonServiceImpl implements BLessonService { ...@@ -722,7 +722,9 @@ public class BLessonServiceImpl implements BLessonService {
//开启共享状态 发布课程时 添加日志 //开启共享状态 发布课程时 添加日志
if(LessonSycnEnum.OPEN.getCode().equals(flag) && LessonTypeEnum.LESSON.getCode().equals(bLesson.getLessonType())){ if(LessonSycnEnum.OPEN.getCode().equals(flag) && LessonTypeEnum.LESSON.getCode().equals(bLesson.getLessonType())){
// 保存日志 // 保存日志
bLessonLogRepository.insertSelective(BLessonLog.generate("发布课程",bLesson.getBusinessId())); if (!"###".equals(bLesson.getCorpId())) {
bLessonLogRepository.insertSelective(BLessonLog.generate("发布课程",bLesson.getBusinessId()));
}
// 同步 资源共享 更新 缓存课程 章节 文件 三个表(关闭的课程也属于 未发布的课程) // 同步 资源共享 更新 缓存课程 章节 文件 三个表(关闭的课程也属于 未发布的课程)
List<BChapter> chapters = new ArrayList<>(); List<BChapter> chapters = new ArrayList<>();
List<BFile> files = new ArrayList<>(); List<BFile> files = new ArrayList<>();
......
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