Commit b961c816 authored by liuyuanjun's avatar liuyuanjun

修改sql错误

parent 69ef63dd
...@@ -900,7 +900,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> { ...@@ -900,7 +900,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
" <if test=\"model.valueScreen !=null and model.valueScreen != ''\"> ${model.valueScreen} </if>" + " <if test=\"model.valueScreen !=null and model.valueScreen != ''\"> ${model.valueScreen} </if>" +
" <if test=\"model.labelId !=null and model.labelId != ''\">" + " <if test=\"model.labelId !=null and model.labelId != ''\">" +
" and (bll.label_id = #{model.labelId} or FIND_IN_SET(#{model.labelId},bl.push_lable) or FIND_IN_SET(blname.business_id,bl.push_lable) " + " and (bll.label_id = #{model.labelId} or FIND_IN_SET(#{model.labelId},bl.push_lable) or blname.l_name = #{model.lName}) " +
" </if>" + " </if>" +
" <if test=\"model.lessonType !=null and model.lessonType != ''\">and bl.lesson_type = #{model.lessonType}</if>" + " <if test=\"model.lessonType !=null and model.lessonType != ''\">and bl.lesson_type = #{model.lessonType}</if>" +
" and bl.release_state = 2 " + " and bl.release_state = 2 " +
...@@ -962,7 +962,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> { ...@@ -962,7 +962,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
" <if test=\"model.valueScreen !=null and model.valueScreen != ''\"> ${model.valueScreen} </if>" + " <if test=\"model.valueScreen !=null and model.valueScreen != ''\"> ${model.valueScreen} </if>" +
" <if test=\"model.labelId !=null and model.labelId != ''\">" + " <if test=\"model.labelId !=null and model.labelId != ''\">" +
" and (bll.label_id = #{model.labelId} or FIND_IN_SET(#{model.labelId},bl.push_lable) or FIND_IN_SET(blname.business_id,bl.push_lable) " + " and (bll.label_id = #{model.labelId} or FIND_IN_SET(#{model.labelId},bl.push_lable) or blname.l_name = #{model.lName}) " +
" </if>" + " </if>" +
" <if test=\"model.lessonType !=null and model.lessonType != ''\">and bl.lesson_type = #{model.lessonType}</if>" + " <if test=\"model.lessonType !=null and model.lessonType != ''\">and bl.lesson_type = #{model.lessonType}</if>" +
" and bl.release_state = 2 " + " and bl.release_state = 2 " +
...@@ -1023,7 +1023,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> { ...@@ -1023,7 +1023,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
" and (bl.corp_id = #{model.corpId} or blc.corp_id = #{model.corpId}) "+ " and (bl.corp_id = #{model.corpId} or blc.corp_id = #{model.corpId}) "+
" <if test=\"model.valueScreen !=null and model.valueScreen != ''\"> ${model.valueScreen} </if>" + " <if test=\"model.valueScreen !=null and model.valueScreen != ''\"> ${model.valueScreen} </if>" +
" <if test=\"model.labelId !=null and model.labelId != ''\">" + " <if test=\"model.labelId !=null and model.labelId != ''\">" +
" and (bll.label_id = #{model.labelId} or FIND_IN_SET(#{model.labelId},bl.push_lable) or FIND_IN_SET(blname.business_id,bl.push_lable) " + " and (bll.label_id = #{model.labelId} or FIND_IN_SET(#{model.labelId},bl.push_lable) or blname.l_name = #{model.lName}) " +
" </if>" + " </if>" +
" <if test=\"model.lessonType !=null and model.lessonType != ''\">and bl.lesson_type = #{model.lessonType}</if>" + " <if test=\"model.lessonType !=null and model.lessonType != ''\">and bl.lesson_type = #{model.lessonType}</if>" +
" and bl.release_state = 2 " + " and bl.release_state = 2 " +
...@@ -1097,7 +1097,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> { ...@@ -1097,7 +1097,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
" where blp.del_flag != 1 and blp.flag = 1 " + " where blp.del_flag != 1 and blp.flag = 1 " +
" and blp.person_id = #{model.userId} ) " + " and blp.person_id = #{model.userId} ) " +
" <if test=\"model.labelId !=null and model.labelId != ''\">" + " <if test=\"model.labelId !=null and model.labelId != ''\">" +
" and (bll.label_id = #{model.labelId} or FIND_IN_SET(#{model.labelId},b.push_lable) or FIND_IN_SET(blname.business_id,b.push_lable) " + " and (bll.label_id = #{model.labelId} or FIND_IN_SET(#{model.labelId},b.push_lable) or blname.l_name = #{model.lName}) " +
" </if>" + " </if>" +
" <if test=\"model.lessonType !=null and model.lessonType != ''\">and b.lesson_type = #{model.lessonType}</if>" + " <if test=\"model.lessonType !=null and model.lessonType != ''\">and b.lesson_type = #{model.lessonType}</if>" +
" and b.release_state = 2 " + " and b.release_state = 2 " +
......
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