Commit f8f7406e by Hayreal

Merge remote-tracking branch 'origin/v2.0.1' into v2.0.1

2 parents 49f19383 043b240a
......@@ -20,7 +20,7 @@
<select id="findTodayCusList"
resultType="cn.com.glsx.execute.modules.model.task.SopNodeTaskStaticModel">
select inst_id as instId,node_id as nodeId,COUNT(DISTINCT external_userId, customer_phone) as
select inst_id as instId,node_id as nodeId,COUNT(DISTINCT if(external_userId is null,"",external_userId),if(customer_phone is null,"",customer_phone)) as
todayCusCount from
sop_node_task_info
where inst_id=#{sopNodeTaskSearch.instId}
......@@ -34,7 +34,7 @@
<select id="findCusList"
resultType="cn.com.glsx.execute.modules.model.task.SopNodeTaskStaticModel">
select inst_id as instId,node_id as nodeId,COUNT(DISTINCT external_userId, customer_phone) as
select inst_id as instId,node_id as nodeId,COUNT(DISTINCT if(external_userId is null,"",external_userId),if(customer_phone is null,"",customer_phone)) as
totalCusCount from
sop_node_task_info
where inst_id=#{sopNodeTaskSearch.instId}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!