From 31d210fee4e4c7e30e3a2d043aa170c353575b3b Mon Sep 17 00:00:00 2001 From: weizong song Date: Thu, 1 Jul 2021 13:50:38 +0800 Subject: [PATCH] up --- app/Http/Controllers/Admin/StatisticsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Admin/StatisticsController.php b/app/Http/Controllers/Admin/StatisticsController.php index eb51ac1..ba9a18b 100755 --- a/app/Http/Controllers/Admin/StatisticsController.php +++ b/app/Http/Controllers/Admin/StatisticsController.php @@ -150,7 +150,7 @@ class StatisticsController extends CommonController public function syncOrderItems(Request $request) { //采用指定时间段订单号 - $orders = Orders::where("serial",">","20210601000000")->select("serial","id","created_at")->get(); + $orders = Orders::where("serial",">","20210601000000")->select("serial","id","status","created_at")->get(); dd($orders->toArray()); $model = OrderItems::whereIn("order_id",$orders->pluck("id")->toArray()); //采用指定订单号结束