|
@@ -89,11 +89,8 @@
|
|
|
<if test="clientType != null and clientType != ''">
|
|
|
AND ss.client_type_ = #{clientType}
|
|
|
</if>
|
|
|
- <if test="startTime!=null and startTime!=''">
|
|
|
- AND DATE_FORMAT(ss.create_time_,'%Y-%m-%d') >= #{startTime}
|
|
|
- </if>
|
|
|
- <if test="endTime!=null and endTime!=''">
|
|
|
- AND DATE_FORMAT(ss.create_time_,'%Y-%m-%d') <= #{endTime}
|
|
|
+ <if test="startTime != null and startTime != ''">
|
|
|
+ AND ss.create_time_ BETWEEN #{startTime} AND #{endTime}
|
|
|
</if>
|
|
|
<if test="search != null and search != ''">
|
|
|
AND (su.real_name_ LIKE CONCAT('%', #{search}, '%') OR su.username_ LIKE CONCAT('%', #{search}, '%') OR ss.user_id_=#{search} OR su.phone_=#{search})
|