|
@@ -249,6 +249,21 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="callerNum != null and callerNum != ''">
|
|
<if test="callerNum != null and callerNum != ''">
|
|
|
and t1.caller_num like concat('%', #{callerNum}, '%')
|
|
and t1.caller_num like concat('%', #{callerNum}, '%')
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="intention != null and intention != ''">
|
|
|
|
|
+ and t1.intention = #{intention}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="isConnected != null and isConnected == 1">
|
|
|
|
|
+ and t1.call_time > 0
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="isConnected != null and isConnected == 0">
|
|
|
|
|
+ and (t1.call_time is null or t1.call_time = 0)
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="minCallTime != null">
|
|
|
|
|
+ and t1.call_time >= #{minCallTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="maxCallTime != null">
|
|
|
|
|
+ and t1.call_time <= #{maxCallTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|