Commit e63defd0a86ffb8d50bf662360f4d88e04ebd08f
1 parent
4c536f0d
1.数知梦接口需要扩展进/external
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/server_rs/dks/BxRestService.java
| @@ -157,7 +157,7 @@ public class BxRestService { | @@ -157,7 +157,7 @@ public class BxRestService { | ||
| 157 | if (limitDevices.contains(car.getEquipmentCode()) || limitDevices.contains("ALL")) { | 157 | if (limitDevices.contains(car.getEquipmentCode()) || limitDevices.contains("ALL")) { |
| 158 | Map<String, Object> carMap = new HashMap<>(); | 158 | Map<String, Object> carMap = new HashMap<>(); |
| 159 | Line line = LineBufferData.findOne(device2line.get(car.getEquipmentCode())); | 159 | Line line = LineBufferData.findOne(device2line.get(car.getEquipmentCode())); |
| 160 | - if (line == null || !limitLines.contains(line.getLineCode())) { | 160 | + if (line == null || !limitLines.contains(line.getLineCode()) || !limitLines.contains("ALL")) { |
| 161 | continue; | 161 | continue; |
| 162 | } | 162 | } |
| 163 | carMap.put("lineName", line.getName()); | 163 | carMap.put("lineName", line.getName()); |