Browse Source

服务费率调整

yumeng 6 tháng trước cách đây
mục cha
commit
89843eca00

+ 3 - 4
ruixuan-live/src/main/resources/mapper/isc/SupplyChainMapper.xml

@@ -211,7 +211,7 @@
         sum(case when t1.send_status = 0 and t1.order_status != 80 then 1 else 0 end) as 'notDeliveryNum',
         round(sum(case when t1.send_status = 1 and t1.order_status != 80 then 1 else 0 end) / sum(case when
         send_status = 1 then 1 else 0 end), 4) as 'deliveryRadio',
-        t1.item_commission_rate as 'itemCommissionRate',
+        t1.promoter_commission_rate as 'itemCommissionRate',
         (case
         when t3.ccr_value is null or t3.ccr_value = 0
         then '0%'
@@ -233,12 +233,11 @@
         else '-'
         end
         ) as 'isPresale',
-        round(t3.investment_promotion_rate / 10, 2) as 'investmentPromotionRate'
+        round(t1.regimental_promotion_rate / 10, 2) as 'investmentPromotionRate'
         from kuaishou_supply_chain t1
         left join kuaishou_item_bind_user t2
         on t1.item_id = t2.item_id
-        left join kuaishou_activity_open_item_list t3
-        on t1.item_id = t3.item_id
+
         left join kuaishou_item_list t5
         on t1.item_id = t5.item_id
         left join (