Commit d95a1e0e authored by luzhuang's avatar luzhuang

fix: 修改链接

parent ce6ed6a5
...@@ -26,14 +26,12 @@ public interface BLessonPersonRepository extends BaseMapper<BLessonPerson> { ...@@ -26,14 +26,12 @@ public interface BLessonPersonRepository extends BaseMapper<BLessonPerson> {
" left join b_lesson_corp blc on bl.business_id = blc.lesson_id and bl.corp_id = '###' " + " left join b_lesson_corp blc on bl.business_id = blc.lesson_id and bl.corp_id = '###' " +
" where blp.del_flag != 1 and blp.flag = 1 " + " where blp.del_flag != 1 and blp.flag = 1 " +
" and bl.del_flag != 1 and bl.flag = 1 " + " and bl.del_flag != 1 and bl.flag = 1 " +
// " and bl.release_state = '2' " +
" and blp.person_id = #{param.userId} " + " and blp.person_id = #{param.userId} " +
" and (bl.corp_id = #{param.corpId} or blc.corp_id = #{param.corpId} )" + " and (bl.corp_id = #{param.corpId} or blc.corp_id = #{param.corpId} )" +
" <if test= \" param.isFinish != null and param.isFinish != ''\">and blp.is_finish = #{param.isFinish} </if> " + " <if test= \" param.isFinish != null and param.isFinish != ''\">and blp.is_finish = #{param.isFinish} </if> " +
" <if test= \" param.lessonType !=null and param.lessonType != ''\">and bl.lesson_type = #{param.lessonType} </if> " + " <if test= \" param.lessonType !=null and param.lessonType != ''\">and bl.lesson_type = #{param.lessonType} </if> " +
// " <if test= \" param.startFlag !=null and param.startFlag != ''\">and blp.start_flag = #{param.startFlag} </if> " +
" <if test= \" param.isAppoint !=null and param.isAppoint != ''\">and blp.is_appoint = #{param.isAppoint} </if> " + " <if test= \" param.isAppoint !=null and param.isAppoint != ''\">and blp.is_appoint = #{param.isAppoint} </if> " +
" <if test= \" param.trainIsSign !=null and param.trainIsSign != ''\">and blp.train_is_sign = #{param.trainIsSign} </if> " + " <if test= \" param.trainIsSign !=null and param.trainIsSign != ''\">and blp.train_is_sign = #{param.trainIsSign} </if> " +
" order by blp.update_date desc" + " order by blp.update_date desc" +
......
...@@ -741,6 +741,7 @@ public class BLessonServiceImpl implements BLessonService { ...@@ -741,6 +741,7 @@ public class BLessonServiceImpl implements BLessonService {
files.addAll(fileList); files.addAll(fileList);
BPLesson bpLesson = new BPLesson(); BPLesson bpLesson = new BPLesson();
BeanUtil.copyProperties(bLesson,bpLesson); BeanUtil.copyProperties(bLesson,bpLesson);
bpLesson.setReleaseState("2");
bpLessonRepository.insertSelective(bpLesson); bpLessonRepository.insertSelective(bpLesson);
bpChapterRepository.insertList(chapters); bpChapterRepository.insertList(chapters);
bpFileRepository.insertList(files); bpFileRepository.insertList(files);
......
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