|
|
@ -48,7 +48,10 @@ public class DevopsDeviceInfoController extends BaseController {
|
|
|
|
for (DevopsDeviceStatus devopsDeviceStatus : list1) {
|
|
|
|
for (DevopsDeviceStatus devopsDeviceStatus : list1) {
|
|
|
|
strings.add(devopsDeviceStatus.getGbsChannelNo());
|
|
|
|
strings.add(devopsDeviceStatus.getGbsChannelNo());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
List<DevopsDeviceInfo> list = devopsDeviceInfoService.lambdaQuery().in(DevopsDeviceInfo::getGbsChannelNo,strings).list();
|
|
|
|
QueryWrapper<DevopsDeviceInfo> devopsDeviceInfoQueryWrapper = new QueryWrapper<>(devopsDeviceInfo);
|
|
|
|
|
|
|
|
devopsDeviceInfoQueryWrapper.in("gbs_channel_no",strings);
|
|
|
|
|
|
|
|
List<DevopsDeviceInfo> list = devopsDeviceInfoService.list(devopsDeviceInfoQueryWrapper);
|
|
|
|
|
|
|
|
// List<DevopsDeviceInfo> list = devopsDeviceInfoService.lambdaQuery().in(DevopsDeviceInfo::getGbsChannelNo,strings).list();
|
|
|
|
ArrayList<DevopsDeviceInfo> devopsDeviceInfos = new ArrayList<>();
|
|
|
|
ArrayList<DevopsDeviceInfo> devopsDeviceInfos = new ArrayList<>();
|
|
|
|
for (DevopsDeviceInfo deviceInfo : list){
|
|
|
|
for (DevopsDeviceInfo deviceInfo : list){
|
|
|
|
deviceInfo.setIsOnline(1);
|
|
|
|
deviceInfo.setIsOnline(1);
|
|
|
|