diff --git a/app/Console/Commands/OrderProfitCommand.php b/app/Console/Commands/OrderProfitCommand.php index 0492b94a..6d1484d7 100644 --- a/app/Console/Commands/OrderProfitCommand.php +++ b/app/Console/Commands/OrderProfitCommand.php @@ -55,7 +55,7 @@ class OrderProfitCommand extends Command // 未支付提成 ->whereNull('profit_paid') // 微信分账订单 - ->orderBy('wx_share->status', 'Y') + ->where('wx_share->status', 'Y') ->limit(10) ->get();