|
@@ -35,6 +35,12 @@
|
|
|
<if test="calledName!=null and calledName!='' ">
|
|
|
called_name,
|
|
|
</if>
|
|
|
+ <if test="relationTypeDesc!=null and relationTypeDesc!='' ">
|
|
|
+ relation_type_desc,
|
|
|
+ </if>
|
|
|
+ <if test="contactLevel!=null and contactLevel!='' ">
|
|
|
+ contact_level,
|
|
|
+ </if>
|
|
|
<if test="calledType!=null and calledType!='' ">
|
|
|
called_type,
|
|
|
</if>
|
|
@@ -96,6 +102,12 @@
|
|
|
<if test="calledName!=null and calledName!='' ">
|
|
|
#{calledName},
|
|
|
</if>
|
|
|
+ <if test="relationTypeDesc!=null and relationTypeDesc!='' ">
|
|
|
+ #{relationTypeDesc},
|
|
|
+ </if>
|
|
|
+ <if test="contactLevel!=null and contactLevel!='' ">
|
|
|
+ #{contactLevel},
|
|
|
+ </if>
|
|
|
<if test="calledType!=null and calledType!='' ">
|
|
|
#{calledType},
|
|
|
</if>
|
|
@@ -147,7 +159,9 @@
|
|
|
order_id as orderId,
|
|
|
called_id as calledId,
|
|
|
called_name as calledName,
|
|
|
- called_type as calledType,
|
|
|
+ relation_type_desc as relationTypeDesc,
|
|
|
+ contact_level as contactLevel,
|
|
|
+ called_type as calledType,
|
|
|
phone as phone,
|
|
|
tenant_id as tenantId,
|
|
|
agent_id as agentId,
|
|
@@ -236,6 +250,12 @@
|
|
|
<if test="calledName!=null and calledName!=''">
|
|
|
called_name,
|
|
|
</if>
|
|
|
+ <if test="relationTypeDesc!=null and relationTypeDesc!=''">
|
|
|
+ relation_type_desc,
|
|
|
+ </if>
|
|
|
+ <if test="contactLevel!=null and contactLevel!=''">
|
|
|
+ contact_level,
|
|
|
+ </if>
|
|
|
<if test="calledType!=null and calledType!=''">
|
|
|
called_type,
|
|
|
</if>
|
|
@@ -309,6 +329,12 @@
|
|
|
<if test="calledName!=null">
|
|
|
#{calledName},
|
|
|
</if>
|
|
|
+ <if test="relationTypeDesc!=null">
|
|
|
+ #{relationTypeDesc},
|
|
|
+ </if>
|
|
|
+ <if test="contactLevel!=null">
|
|
|
+ #{contactLevel},
|
|
|
+ </if>
|
|
|
<if test="calledType!=null">
|
|
|
#{calledType},
|
|
|
</if>
|
|
@@ -381,6 +407,12 @@
|
|
|
<if test="calledName!=null and calledName!='' ">
|
|
|
called_name=#{calledName},
|
|
|
</if>
|
|
|
+ <if test="relationTypeDesc!=null and relationTypeDesc!='' ">
|
|
|
+ relation_type_desc=#{relationTypeDesc},
|
|
|
+ </if>
|
|
|
+ <if test="contactLevel!=null and contactLevel!='' ">
|
|
|
+ contact_level=#{contactLevel},
|
|
|
+ </if>
|
|
|
<if test="calledType!=null and calledType!='' ">
|
|
|
called_type=#{calledType},
|
|
|
</if>
|
|
@@ -420,6 +452,8 @@
|
|
|
ckl.order_id as orderId,
|
|
|
ckl.called_id as calledId,
|
|
|
ckl.called_name as calledName,
|
|
|
+ ckl.relation_type_desc as relationTypeDesc,
|
|
|
+ ckl.contact_level as contactLevel,
|
|
|
ckl.called_type as calledType,
|
|
|
ckl.phone as phone,
|
|
|
date_format(ckl.create_time, '%Y%m%d%H%i%s') createTime
|