Commit 00061a07 by 陶光胜

二维码

parent abd5ab29
......@@ -264,7 +264,7 @@
where t1.user_id=#{userId}
and (t1.status = 1 or t1.status = 2) and t1.message_id=t3.message_id
<if test="search != null and search != ''">
and (title like concat('%', #{search}, '%') or content like concat('%', #{search}, '%'))
and (t1.title like concat('%', #{search}, '%') or t1.content like concat('%', #{search}, '%'))
</if>
<if test="status != null">
and t1.status = #{status}
......
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