From 031b13a7d8443b16ced171fd7892ebc153b2700f Mon Sep 17 00:00:00 2001 From: liyinglin Date: Wed, 3 Jan 2024 11:21:54 +0800 Subject: [PATCH] 1 --- app/Http/Controllers/Admin/OrdersController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Admin/OrdersController.php b/app/Http/Controllers/Admin/OrdersController.php index 1f65fc3..095ce6d 100755 --- a/app/Http/Controllers/Admin/OrdersController.php +++ b/app/Http/Controllers/Admin/OrdersController.php @@ -241,7 +241,7 @@ class OrdersController extends CommonController ->orderBy("room.name") ->orderBy("bed.name"); }])->orderBy("building.myindex") - ->orderBy("area1.myindex") + ->orderBy("area.myindex") ->select("area.id", "area.name", "area.building_id", "area.project_id") ->leftJoin("building", "area.building_id", "=", "building.id") ->addSelect("building.name as building_name")