Commit 79fd0b26 authored by liaoanyuan's avatar liaoanyuan

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

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