|
@@ -3963,7 +3963,12 @@
|
|
|
when t1.send_status = 1
|
|
|
then 1
|
|
|
else 0 end) * 100,
|
|
|
- 2) as 'deliveryRadio'
|
|
|
+ 2) as 'deliveryRadio',
|
|
|
+ round(sum(case
|
|
|
+ when t1.order_status != 80 then t1.regimental_promotion_amount
|
|
|
+ else 0 end) / 100, 2 )as 'regimentalPromotionAmount',
|
|
|
+ round(sum(case when t1.order_status != 80 then t1.total_regimental_settle_amount else 0 end) / 100 , 2) as
|
|
|
+ 'totalRegimentalSettleAmount'
|
|
|
from kuaishou_supply_chain t1 LEFT JOIN kuaishou_activity_open_item_list t2 on t1.item_id = t2.item_id
|
|
|
where 1 = 1
|
|
|
<if test="start != null and start != ''">
|