Commit 52bd0bad by 徐高华

sql

parent bffc3726
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
and create_time >= #{startDate} and create_time <![CDATA[<=]]> #{endDate} and create_time >= #{startDate} and create_time <![CDATA[<=]]> #{endDate}
</if> </if>
<if test="null != searchParams and '' !=searchParams "> <if test="null != searchParams and '' !=searchParams ">
and ( name like '%${searchParams}%' or chat_hm_code like like '${searchParams}%' or creator_name like '%${searchParams}%' ) and ( name like '%${searchParams}%' or chat_hm_code like '${searchParams}%' or creator_name like '%${searchParams}%' )
</if> </if>
<if test="null != status"> <if test="null != status">
and status_flag = #{status} and status_flag = #{status}
...@@ -171,6 +171,7 @@ ...@@ -171,6 +171,7 @@
#{id} #{id}
</foreach> </foreach>
</if> </if>
order by create_time desc
</select> </select>
</mapper> </mapper>
\ No newline at end of file
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