Commit fc8b3766 by 陶光胜

二维码

parent 0fd1fc40
......@@ -263,7 +263,7 @@
t1.classify,t1.title,t1.content,t1.message_id,t1.create_time,t1.status, t3.sign
from tab_push_user_message t1 left join tab_push_message t3 on t1.message_id = t3.message_id
where t1.user_id=#{userId}
and (t1.status = 1 or t1.status = 2) and t1.message_id=t3.message_id
and (t1.status = 1 or t1.status = 2)
<if test="search != null and search != ''">
and (t1.title like concat('%', #{search}, '%') or t1.content like concat('%', #{search}, '%'))
</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