Commit 3094d611 authored by liuyuanjun's avatar liuyuanjun

增加过滤条件

parent f169ca47
...@@ -33,6 +33,7 @@ public interface BLabelRepository extends BaseMapper<BLabel> { ...@@ -33,6 +33,7 @@ public interface BLabelRepository extends BaseMapper<BLabel> {
"left join b_lesson ble on ble.business_id = blc.lesson_id \n" + "left join b_lesson ble on ble.business_id = blc.lesson_id \n" +
"left join b_label bla on FIND_IN_SET(bla.business_id,ble.push_lable) \n" + "left join b_label bla on FIND_IN_SET(bla.business_id,ble.push_lable) \n" +
"where blc.corp_id = #{corpId} and ble.push_lable &lt;&gt; '' \n" + "where blc.corp_id = #{corpId} and ble.push_lable &lt;&gt; '' \n" +
"and ble.del_flag != '1' and ble.flag = '1' and ble.release_state = '2' \n" +
"<if test=\"lName!=null and lName != ''\"> " + "<if test=\"lName!=null and lName != ''\"> " +
"and l_name like CONCAT('%',#{lName},'%') \n" + "and l_name like CONCAT('%',#{lName},'%') \n" +
"</if>" + "</if>" +
......
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