From 132f066f7cc2fcf0afd3145cdf970fdbc28d3c20 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Wed, 30 Aug 2023 13:13:52 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=93=E6=9D=9F=E8=AE=A2=E5=8D=95=E6=8E=92?= =?UTF-8?q?=E5=BA=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Model/OrderInquiry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Model/OrderInquiry.php b/app/Model/OrderInquiry.php index 5ca18b8..eb0d3a1 100644 --- a/app/Model/OrderInquiry.php +++ b/app/Model/OrderInquiry.php @@ -456,7 +456,7 @@ class OrderInquiry extends Model }) ->whereIn('inquiry_status', [5,6]) ->where($params) - ->orderBy('complete_time', 'desc') + ->orderBy('complete_time') ->groupBy(["user_id"]); $result = $query->paginate($per_page, $fields, "page", $page);