diff --git a/gather-app/src/main/java/com/ruoyi/database/controller/DevopsDeviceInfoController.java b/gather-app/src/main/java/com/ruoyi/database/controller/DevopsDeviceInfoController.java index f18e7dc..5f3d87c 100644 --- a/gather-app/src/main/java/com/ruoyi/database/controller/DevopsDeviceInfoController.java +++ b/gather-app/src/main/java/com/ruoyi/database/controller/DevopsDeviceInfoController.java @@ -48,7 +48,10 @@ public class DevopsDeviceInfoController extends BaseController { for (DevopsDeviceStatus devopsDeviceStatus : list1) { strings.add(devopsDeviceStatus.getGbsChannelNo()); } - List list = devopsDeviceInfoService.lambdaQuery().in(DevopsDeviceInfo::getGbsChannelNo,strings).list(); + QueryWrapper devopsDeviceInfoQueryWrapper = new QueryWrapper<>(devopsDeviceInfo); + devopsDeviceInfoQueryWrapper.in("gbs_channel_no",strings); + List list = devopsDeviceInfoService.list(devopsDeviceInfoQueryWrapper); +// List list = devopsDeviceInfoService.lambdaQuery().in(DevopsDeviceInfo::getGbsChannelNo,strings).list(); ArrayList devopsDeviceInfos = new ArrayList<>(); for (DevopsDeviceInfo deviceInfo : list){ deviceInfo.setIsOnline(1); diff --git a/gather-app/src/main/java/com/ruoyi/database/controller/DevopsVideoInfoController.java b/gather-app/src/main/java/com/ruoyi/database/controller/DevopsVideoInfoController.java index ef5e8fb..828a6ab 100644 --- a/gather-app/src/main/java/com/ruoyi/database/controller/DevopsVideoInfoController.java +++ b/gather-app/src/main/java/com/ruoyi/database/controller/DevopsVideoInfoController.java @@ -49,7 +49,10 @@ public class DevopsVideoInfoController extends BaseController { for (DevopsVideoStatus devopsVideoStatus : list1) { strings.add(devopsVideoStatus.getGbsChannelNo()); } - List list = devopsVideoInfoService.lambdaQuery().in(DevopsVideoInfo::getGbsChannelNo,strings).list(); + QueryWrapper devopsVideoInfoQueryWrapper = new QueryWrapper<>(devopsVideoInfo); + devopsVideoInfoQueryWrapper.in("gbs_channel_no",strings); + List list = devopsVideoInfoService.list(devopsVideoInfoQueryWrapper); +// List list = devopsVideoInfoService.lambdaQuery().in(DevopsVideoInfo::getGbsChannelNo,strings).list(); ArrayList devopsVideoInfos = new ArrayList<>(); for (DevopsVideoInfo devopsVideoInfo1 : list){ devopsVideoInfo1.setIsOnline(1);