From bccfb1bf32f1985beb4ee12458583235e0ecc288 Mon Sep 17 00:00:00 2001 From: hanrenchun Date: Fri, 26 Jan 2024 17:44:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E5=88=97=E8=A1=A8=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E6=8E=A5=E5=8F=A3=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/controller/PerceptionDeviceController.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gather-app/src/main/java/com/ruoyi/business/controller/PerceptionDeviceController.java b/gather-app/src/main/java/com/ruoyi/business/controller/PerceptionDeviceController.java index c8e4e9a..ad0c25b 100644 --- a/gather-app/src/main/java/com/ruoyi/business/controller/PerceptionDeviceController.java +++ b/gather-app/src/main/java/com/ruoyi/business/controller/PerceptionDeviceController.java @@ -66,7 +66,9 @@ public class PerceptionDeviceController extends BaseController { @ApiOperation("人设备列表") public TableDataInfo PeopleList() { startPage(); - List list = devopsDeviceInfoService.lambdaQuery().eq(DevopsDeviceInfo::getDeviceType, 1).list(); + List list = devopsDeviceInfoService.lambdaQuery() + .eq(DevopsDeviceInfo::getParentMonitoringType,1) + .eq(DevopsDeviceInfo::getDeviceType, 1).list(); return getDataTable(list); } @@ -74,7 +76,9 @@ public class PerceptionDeviceController extends BaseController { @ApiOperation("车设备列表") public TableDataInfo VehicleList() { startPage(); - List list = devopsDeviceInfoService.lambdaQuery().eq(DevopsDeviceInfo::getDeviceType, 2).list(); + List list = devopsDeviceInfoService.lambdaQuery() + .eq(DevopsDeviceInfo::getParentMonitoringType,1) + .eq(DevopsDeviceInfo::getDeviceType, 2).list(); return getDataTable(list); }