Browse Source

# 视频点位选择优化

zhongwei
haungxing 10 months ago
parent
commit
b80b565de4
  1. 1
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/impl/StationVideoTypeServiceImpl.java

1
hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/impl/StationVideoTypeServiceImpl.java

@ -252,6 +252,7 @@ public class StationVideoTypeServiceImpl extends BaseServiceImpl<StationVideoTyp
cameras.stream().forEach(camera -> { cameras.stream().forEach(camera -> {
if(pointCodes.contains(camera.getString("cameraIndexCode"))) { if(pointCodes.contains(camera.getString("cameraIndexCode"))) {
camera.put("disabled",true); camera.put("disabled",true);
camera.put("cameraName",Optional.ofNullable(camera.getString("cameraName")).orElse("")+"(已接入)");
} }
else { else {
camera.put("disabled",false); camera.put("disabled",false);

Loading…
Cancel
Save