yumeng 6 달 전
부모
커밋
e81adb02c0
1개의 변경된 파일2개의 추가작업 그리고 5개의 파일을 삭제
  1. 2 5
      ruixuan-live/src/main/resources/mapper/isc/SupplyChainMapper.xml

+ 2 - 5
ruixuan-live/src/main/resources/mapper/isc/SupplyChainMapper.xml

@@ -2673,11 +2673,8 @@
         2),
         '%') as 'validOrderRate',
         round(sum(t2.orderAmount) / 100, 2) as 'orderAmount',
-
-        round(sum(case when t2.order_status != 80 then t2.regimental_promotion_amount end) / 100, 2) as
-        'regimentalPromotionAmount',
-        round(sum(case when t2.order_status != 80 then t2.total_regimental_settle_amount end) / 100, 2) as
-        'totalRegimentalSettleAmount'
+        round(sum(t2.regimentalPromotionAmount) / 100, 2) as 'regimentalPromotionAmount',
+        round(sum(t2.totalRegimentalSettleAmount) / 100, 2) as 'totalRegimentalSettleAmount'
         from promoter_bind_channel_date t1
         left join (select promoter_id as 'promoter_id',
         stat_date as 'stat_date',