فهرست منبع

wesmiler 抢表商城

APPLE 3 سال پیش
والد
کامیت
583f5f0042
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/Services/Common/TradeService.php

+ 1 - 1
app/Services/Common/TradeService.php

@@ -370,7 +370,7 @@ class TradeService extends BaseService
                     $query->where('a.pay_time', '>=', strtotime(date('Y-m-d')));
                 }
             })
-            ->sum(DB::raw('a.price - a.sell_price + a.source_price'));
+            ->sum(DB::raw('price - sell_price + source_price'));
     }
 
     /**