Ver Fonte

余额收入去掉会员退款

gorden há 3 meses atrás
pai
commit
8fd14495ad
1 ficheiros alterados com 1 adições e 0 exclusões
  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');