|
@@ -557,7 +557,7 @@
|
|
|
sum(case when flow_point != 'REFUND' then 1 else 0 end) as 'validOrderNUm',
|
|
|
round(sum(case when flow_point != 'REFUND' then 1 else 0 end) / count(order_id),4) as 'validRadio'
|
|
|
from bytedance_order_list
|
|
|
- where 1= 1
|
|
|
+ where author_short_id is not null
|
|
|
<if test='promoterIds != null and promoterIds.size() > 0'>
|
|
|
AND author_short_id IN
|
|
|
<foreach collection="promoterIds" item="item" separator=","
|
|
@@ -626,7 +626,7 @@
|
|
|
sum(case when flow_point != 'REFUND' then 1 else 0 end) as 'validOrderNUm',
|
|
|
round(sum(case when flow_point != 'REFUND' then 1 else 0 end) / count(order_id),4) as 'validRadio'
|
|
|
from bytedance_order_list
|
|
|
- where 1= 1
|
|
|
+ where author_short_id is not null
|
|
|
<if test="start != null and start != ''">
|
|
|
and pay_success_time >= #{start}
|
|
|
</if>
|