diff --git a/app/Http/Controllers/Admin/StatisticsController.php b/app/Http/Controllers/Admin/StatisticsController.php index 2c653d7..c01864a 100755 --- a/app/Http/Controllers/Admin/StatisticsController.php +++ b/app/Http/Controllers/Admin/StatisticsController.php @@ -191,9 +191,6 @@ class StatisticsController extends CommonController })->where("factors", "not like", "%所在科室%"); //采用指定订单号结束 - dump($model->count()); - dd(DB::getQueryLog()); - if ($request->last_id) { $model = $model->where("id", ">", $request->last_id); } @@ -206,7 +203,9 @@ class StatisticsController extends CommonController DB::beginTransaction(); try { foreach ($orderItems as $orderItem) { - + dump($orderItem); + $factors = json_decode($orderItem->factors); + dd($factors); } DB::commit(); return $this->success("处理成功一批,正在跳转到下一批!", url($this->urlPrefix . "/salary/sync-order-items?month={$request->month}&last_id=" . $orderItems->last()->id));