From ce197778d1ea62c16095aad15af2e2421abd18dd Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Mon, 18 Dec 2023 09:57:36 +0800 Subject: [PATCH] fixed --- app/api/controller/dataview/LandController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/dataview/LandController.php b/app/api/controller/dataview/LandController.php index a211a94e..454c2071 100644 --- a/app/api/controller/dataview/LandController.php +++ b/app/api/controller/dataview/LandController.php @@ -244,7 +244,7 @@ class LandController extends BaseApiController ->join('product_device pd', 'lp.product_id=pd.product_id') ->join('device d', 'pd.device_id=d.id') ->where('l.id', $landId) - >where('d.is_online', 2)->count(); + ->where('d.is_online', 2)->count(); return $this->success('成功', compact('total', 'online', 'offline'));