|
@@ -26,6 +26,9 @@
|
|
<if test="olderId!=null and olderId!='' ">
|
|
<if test="olderId!=null and olderId!='' ">
|
|
older_id,
|
|
older_id,
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="orderId!=null and orderId!='' ">
|
|
|
|
+ order_id,
|
|
|
|
+ </if>
|
|
<if test="contactId!=null and contactId!='' ">
|
|
<if test="contactId!=null and contactId!='' ">
|
|
contact_id,
|
|
contact_id,
|
|
</if>
|
|
</if>
|
|
@@ -78,6 +81,9 @@
|
|
<if test="olderId!=null and olderId!='' ">
|
|
<if test="olderId!=null and olderId!='' ">
|
|
#{olderId},
|
|
#{olderId},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="orderId!=null and orderId!='' ">
|
|
|
|
+ #{orderId},
|
|
|
|
+ </if>
|
|
<if test="contactId!=null and contactId!='' ">
|
|
<if test="contactId!=null and contactId!='' ">
|
|
#{contactId},
|
|
#{contactId},
|
|
</if>
|
|
</if>
|
|
@@ -126,6 +132,7 @@
|
|
org_id as orgId,
|
|
org_id as orgId,
|
|
station_id as stationId,
|
|
station_id as stationId,
|
|
older_id as olderId,
|
|
older_id as olderId,
|
|
|
|
+ order_id as orderId,
|
|
contact_id as contactId,
|
|
contact_id as contactId,
|
|
phone as phone,
|
|
phone as phone,
|
|
tenant_id as tenantId,
|
|
tenant_id as tenantId,
|
|
@@ -167,7 +174,9 @@
|
|
<if test="olderId!=null and olderId!='' ">
|
|
<if test="olderId!=null and olderId!='' ">
|
|
older_id,
|
|
older_id,
|
|
</if>
|
|
</if>
|
|
-
|
|
|
|
|
|
+ <if test="orderId!=null and orderId!='' ">
|
|
|
|
+ order_id,
|
|
|
|
+ </if>
|
|
<if test="sessionId!=null and sessionId!='' ">
|
|
<if test="sessionId!=null and sessionId!='' ">
|
|
session_id,
|
|
session_id,
|
|
</if>
|
|
</if>
|
|
@@ -232,7 +241,9 @@
|
|
<if test="olderId!=null and olderId!='' ">
|
|
<if test="olderId!=null and olderId!='' ">
|
|
#{olderId},
|
|
#{olderId},
|
|
</if>
|
|
</if>
|
|
-
|
|
|
|
|
|
+ <if test="orderId!=null and orderId!='' ">
|
|
|
|
+ #{orderId},
|
|
|
|
+ </if>
|
|
<if test="sessionId!=null and sessionId!='' ">
|
|
<if test="sessionId!=null and sessionId!='' ">
|
|
#{sessionId},
|
|
#{sessionId},
|
|
</if>
|
|
</if>
|
|
@@ -329,6 +340,9 @@
|
|
<if test="olderId!=null and olderId!='' ">
|
|
<if test="olderId!=null and olderId!='' ">
|
|
older_id=#{olderId},
|
|
older_id=#{olderId},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="orderId!=null and orderId!='' ">
|
|
|
|
+ order_id=#{orderId},
|
|
|
|
+ </if>
|
|
<if test="orgId!=null and orgId!='' ">
|
|
<if test="orgId!=null and orgId!='' ">
|
|
org_id=#{orgId},
|
|
org_id=#{orgId},
|
|
</if>
|
|
</if>
|
|
@@ -370,6 +384,7 @@
|
|
distinct ckl.session_id as sessionId,
|
|
distinct ckl.session_id as sessionId,
|
|
ckl.org_id as orgId,
|
|
ckl.org_id as orgId,
|
|
ckl.older_id as olderId,
|
|
ckl.older_id as olderId,
|
|
|
|
+ ckl.order_id as orderId,
|
|
ckl.contact_id as contactId,
|
|
ckl.contact_id as contactId,
|
|
ckl.phone as phone,
|
|
ckl.phone as phone,
|
|
date_format(ckl.create_time, '%Y%m%d%H%i%s') createTime
|
|
date_format(ckl.create_time, '%Y%m%d%H%i%s') createTime
|