Commit abc624e2 authored by liuyuanjun's avatar liuyuanjun

修改bug'29455

parent d74cb813
...@@ -447,7 +447,8 @@ public class BLessonServiceImpl implements BLessonService { ...@@ -447,7 +447,8 @@ public class BLessonServiceImpl implements BLessonService {
String flag = bMessageRepository.getSycnValue(curUser.getCorpId()); String flag = bMessageRepository.getSycnValue(curUser.getCorpId());
//开启共享状态 编辑课程时 添加日志 //开启共享状态 编辑课程时 添加日志
if(LessonSycnEnum.OPEN.getCode().equals(flag) && LessonTypeEnum.LESSON.getCode().equals(model.getLessonType())){ if(LessonSycnEnum.OPEN.getCode().equals(flag) && LessonTypeEnum.LESSON.getCode().equals(model.getLessonType())){
// 保存日志 // 保存日志(只有不是平台课程才可以执行下面的操作)
if (!"###".equals(model.getCorpId())) {
bLessonLogRepository.insertSelective(BLessonLog.generate("编辑课程",model.getBusinessId())); bLessonLogRepository.insertSelective(BLessonLog.generate("编辑课程",model.getBusinessId()));
// 同步 资源共享 更新 缓存课程 表 // 同步 资源共享 更新 缓存课程 表
BPLesson bpModel = new BPLesson(); BPLesson bpModel = new BPLesson();
...@@ -455,6 +456,7 @@ public class BLessonServiceImpl implements BLessonService { ...@@ -455,6 +456,7 @@ public class BLessonServiceImpl implements BLessonService {
bpLessonRepository.updateByPrimaryKeySelective(bpModel); bpLessonRepository.updateByPrimaryKeySelective(bpModel);
} }
} }
}
//若培训结束时间改变 修改学生签到状态 //若培训结束时间改变 修改学生签到状态
//查询课程信息 //查询课程信息
BLesson bLesson = bLessonRepository.selectByPrimaryKey(model.getBusinessId()); BLesson bLesson = bLessonRepository.selectByPrimaryKey(model.getBusinessId());
......
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