Commit 4c536f0def389849f47beb70b4f33ffcea611a4e
1 parent
4179a113
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 | 157 | if (limitDevices.contains(car.getEquipmentCode()) || limitDevices.contains("ALL")) { |
| 158 | 158 | Map<String, Object> carMap = new HashMap<>(); |
| 159 | 159 | Line line = LineBufferData.findOne(device2line.get(car.getEquipmentCode())); |
| 160 | - if (line == null) { | |
| 160 | + if (line == null || !limitLines.contains(line.getLineCode())) { | |
| 161 | 161 | continue; |
| 162 | 162 | } |
| 163 | 163 | carMap.put("lineName", line.getName()); | ... | ... |