Commit 79fd0b26 authored by liaoanyuan's avatar liaoanyuan

用户查询注册时间筛选修改

parent 0d23ea2f
......@@ -109,11 +109,11 @@
between #{startTime}
</if>
<if test="endTime != null">and #{endTime}</if>
<if test="userName != null">and user_name like ('%' #{userName} '%')</if>
<if test="phone != null">and phone like ('%' #{phone} '%')</if>
<if test="endTime != null">and #{endTime}</if>
order by create_time desc
limit #{pageNo},#{pageSize}
</where>
......@@ -128,14 +128,14 @@
<if test="endTime != null">and #{endTime}</if>
<if test="userName != null">and user_name like ('%' #{userName} '%')</if>
<if test="phone != null">and phone like ('%' #{phone} '%')</if>
<if test="startTime != null">
and create_time
between #{startTime}
</if>
<if test="userName != null">and user_name like ('%' #{userName} '%')</if>
<if test="phone != null">and phone like ('%' #{phone} '%')</if>
</where>
</select>
......
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