|
@@ -86,7 +86,7 @@
|
|
|
<if test="type!=null">
|
|
|
AND ss.type_ = #{type, typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
|
|
|
</if>
|
|
|
- <if test="clientType!=null">
|
|
|
+ <if test="clientType != null and clientType != ''">
|
|
|
AND ss.client_type_ = #{clientType}
|
|
|
</if>
|
|
|
<if test="startTime!=null and startTime!=''">
|
|
@@ -95,7 +95,7 @@
|
|
|
<if test="endTime!=null and endTime!=''">
|
|
|
AND DATE_FORMAT(ss.create_time_,'%Y-%m-%d') <= #{endTime}
|
|
|
</if>
|
|
|
- <if test="search!=null and search!=''">
|
|
|
+ <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})
|
|
|
</if>
|
|
|
<if test="operatorSearch != null and operatorSearch != ''">
|
|
@@ -104,6 +104,14 @@
|
|
|
<if test="suggestionType != null">
|
|
|
AND ss.suggestion_type_ = #{suggestionType}
|
|
|
</if>
|
|
|
+ <if test="disposeFlag != null">
|
|
|
+ <if test="disposeFlag == false">
|
|
|
+ AND ss.operator_id_ IS NULL
|
|
|
+ </if>
|
|
|
+ <if test="disposeFlag == true">
|
|
|
+ AND ss.operator_id_ IS NOT NULL
|
|
|
+ </if>
|
|
|
+ </if>
|
|
|
<if test="handleFlag != null">
|
|
|
AND ss.handle_flag_ = #{handleFlag}
|
|
|
</if>
|