|
@@ -32,6 +32,9 @@
|
|
|
<if test="calledId!=null and calledId!='' ">
|
|
|
called_id,
|
|
|
</if>
|
|
|
+ <if test="calledName!=null and calledName!='' ">
|
|
|
+ called_name,
|
|
|
+ </if>
|
|
|
<if test="calledType!=null and calledType!='' ">
|
|
|
called_type,
|
|
|
</if>
|
|
@@ -90,6 +93,9 @@
|
|
|
<if test="calledId!=null and calledId!='' ">
|
|
|
#{calledId},
|
|
|
</if>
|
|
|
+ <if test="calledName!=null and calledName!='' ">
|
|
|
+ #{calledName},
|
|
|
+ </if>
|
|
|
<if test="calledType!=null and calledType!='' ">
|
|
|
#{calledType},
|
|
|
</if>
|
|
@@ -140,6 +146,7 @@
|
|
|
older_id as olderId,
|
|
|
order_id as orderId,
|
|
|
called_id as calledId,
|
|
|
+ called_name as calledName,
|
|
|
called_type as calledType,
|
|
|
phone as phone,
|
|
|
tenant_id as tenantId,
|
|
@@ -226,6 +233,9 @@
|
|
|
<if test="calledId!=null and calledId!=''">
|
|
|
called_id,
|
|
|
</if>
|
|
|
+ <if test="calledName!=null and calledName!=''">
|
|
|
+ called_name,
|
|
|
+ </if>
|
|
|
<if test="calledType!=null and calledType!=''">
|
|
|
called_type,
|
|
|
</if>
|
|
@@ -296,6 +306,9 @@
|
|
|
<if test="calledId!=null">
|
|
|
#{calledId},
|
|
|
</if>
|
|
|
+ <if test="calledName!=null">
|
|
|
+ #{calledName},
|
|
|
+ </if>
|
|
|
<if test="calledType!=null">
|
|
|
#{calledType},
|
|
|
</if>
|
|
@@ -365,6 +378,9 @@
|
|
|
<if test="calledId!=null and calledId!='' ">
|
|
|
called_id=#{calledId},
|
|
|
</if>
|
|
|
+ <if test="calledName!=null and calledName!='' ">
|
|
|
+ called_name=#{calledName},
|
|
|
+ </if>
|
|
|
<if test="calledType!=null and calledType!='' ">
|
|
|
called_type=#{calledType},
|
|
|
</if>
|
|
@@ -403,6 +419,7 @@
|
|
|
ckl.older_id as olderId,
|
|
|
ckl.order_id as orderId,
|
|
|
ckl.called_id as calledId,
|
|
|
+ ckl.called_name as calledName,
|
|
|
ckl.called_type as calledType,
|
|
|
ckl.phone as phone,
|
|
|
date_format(ckl.create_time, '%Y%m%d%H%i%s') createTime
|
|
@@ -419,7 +436,7 @@
|
|
|
and ckl.station_id=#{stationId}
|
|
|
and ckl.older_id=#{olderId}
|
|
|
and ckl.called_id=#{calledId}
|
|
|
- and ckl.called_type=#{calledType}
|
|
|
+ and ckl.called_type=#{calledType}
|
|
|
and ckl.order_id=#{orderId}
|
|
|
and ckl.phone=#{phone}
|
|
|
order by ckl.create_time DESC
|