Browse Source

同步桥下球机设备状态

develop
lau572 4 weeks ago
parent
commit
c239387d1f
  1. 4
      zc-business/src/main/java/com/zc/business/controller/VideoController.java

4
zc-business/src/main/java/com/zc/business/controller/VideoController.java

@ -270,6 +270,10 @@ public class VideoController extends BaseController {
for (int i = 0; i < objects.size(); i++) {
jiHeYunGuanG35.add(objects.get(i));
}
JSONObject bridgeCamera = array.getJSONObject(2);//桥下球机
JSONArray bridgeCameraList = bridgeCamera.getJSONArray("children");
jiHeYunGuanG35.addAll(bridgeCameraList);
List<DcDevice> list = new ArrayList<>();
for (Object json : jiHeYunGuanG35) {
JSONObject item = JSONObject.parseObject(json.toString());

Loading…
Cancel
Save