weizong song 2 years ago
parent e35b7bf197
commit 96157548a7

@ -188,10 +188,11 @@ class StatisticsController extends CommonController
//采用指定订单号
$model = OrderItems::whereHas("order", function ($query) {
$query->whereIn("serial", ["20240101000016", "20240103000044", "20240103000055", "20240103000068", "20240104000010", "20240104000011", "20240104000012", "20240104000035", "20240104000040", "20240105000009", "20240105000042", "20240105000049", "20240105000051", "20240105000063", "20240105000064", "20231212000051", "20240104000023", "20240104000033", "20240104000036", "20240104000049", "20240104000059", "20240104000060", "20240105000043", "20240105000045", "20240105000048", "20240105000065", "20240105000066", "20240101000024", "20240104000007", "20240104000030", "20240104000034", "20240104000044", "20240104000065"]);
});
})->where("factors", "not like", "%陪护标准%");
//采用指定订单号结束
dd($model->count());
dump($model->count());
dd(DB::getQueryLog());
if ($request->last_id) {
$model = $model->where("id", ">", $request->last_id);

Loading…
Cancel
Save