|
@@ -447,7 +447,7 @@
|
|
|
2) as 'validRadio',
|
|
|
sum(case when t1.status >= 40 and t1.status < 80 then 1 else 0 end) as 'deliveryNum',
|
|
|
round(sum(case when t1.status >= 40 and t1.status < 80 then 1 else 0 end) /
|
|
|
- sum(case when t1.status != 80 then 1 else 0 end) * 100, 2) as 'deliveryRate',
|
|
|
+ sum(case when t1.status != 80 and t1.status != 10 then 1 else 0 end) * 100, 2) as 'deliveryRate',
|
|
|
sum(case when t1.status = 30 then 1 else 0 end) as 'notDeliveryNum',
|
|
|
round(sum(t1.express_fee) / 100, 2) as 'expressFee'
|
|
|
from kwaixiaodian_order_cursor_list t1
|