Sfoglia il codice sorgente

余额收入去掉会员退款

gorden 3 mesi fa
parent
commit
8fd14495ad
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      app/admin/service/statistics/OrderService.php

+ 1 - 0
app/admin/service/statistics/OrderService.php

@@ -50,6 +50,7 @@ class OrderService
             ->whereNotIn('pay_prepayid',['WXPAY','ALIPAY','OFFLINE_WXPAY','OFFLINE_ALIPAY','MONEY'])
             ->where('join_pay_order_id', '<>', '')
             ->where('pay_category','<>','REFUND')
+            ->where('pay_category','<>','ROLE_REFUND')
             ->where('pay_status', 'SUCCESS')
             ->sum('pay_amount');