Commit 523dd440 authored by beilang's avatar beilang

2024-12-13

parent e8e13e6d
......@@ -100,14 +100,14 @@ public class DeviceController {
Map<String, String> resultMap = new HashMap<>(gbIdArray.length);
for (String gbId : gbIdArray) {
/*QueryWrapper queryWrapper = new QueryWrapper("gbid,status");
QueryWrapper queryWrapper = new QueryWrapper("gbid,status");
queryWrapper.eq("gbid", gbId);
List<DeviceDTO> deviceByExt = deviceQueryService.getDeviceByExt(queryWrapper);
if (ObjectUtils.isNotEmpty(deviceByExt)) {
DeviceDTO device = deviceByExt.get(0);
resultMap.put(device.getGbid(), device.getStatus());
}*/
resultMap.put(gbId, "0");
}
// resultMap.put(gbId, "0");
}
return Result.success(resultMap);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment