2023-06-02 18:30:25 新增获取用户所属可控设备列表接口!

master
魔神煜修罗皇 2 years ago
parent 18f1e0d830
commit 983f039b12
  1. 12
      psdc-business/src/main/java/com/psdc/service/impl/PsdcSceneServiceImpl.java

@ -236,8 +236,8 @@ public class PsdcSceneServiceImpl implements IPsdcSceneService {
// break; // break;
// } // }
Map<String, Object> map = new HashMap<>(); Map<String, Object> map = new HashMap<>();
map.put("label", sv.getSceneKey()); map.put("context", sv.getSceneKey());
map.put("context", sv.getSceneContext()); map.put("label", sv.getSceneContext());
map.put("value", sv.getSceneValue()); map.put("value", sv.getSceneValue());
list.add(map); list.add(map);
deviceVo.setTempValue(list); deviceVo.setTempValue(list);
@ -263,8 +263,8 @@ public class PsdcSceneServiceImpl implements IPsdcSceneService {
// deviceVo.setTemp(sv.getSceneValue()); // deviceVo.setTemp(sv.getSceneValue());
// } // }
Map<String, Object> map = new HashMap<>(); Map<String, Object> map = new HashMap<>();
map.put("label", sv.getSceneKey()); map.put("context", sv.getSceneKey());
map.put("context", sv.getSceneContext()); map.put("label", sv.getSceneContext());
map.put("value", sv.getSceneValue()); map.put("value", sv.getSceneValue());
list.add(map); list.add(map);
deviceVo.setTempValue(list); deviceVo.setTempValue(list);
@ -282,8 +282,8 @@ public class PsdcSceneServiceImpl implements IPsdcSceneService {
// break; // break;
// } // }
Map<String, Object> map = new HashMap<>(); Map<String, Object> map = new HashMap<>();
map.put("label", sv.getSceneKey()); map.put("context", sv.getSceneKey());
map.put("context", sv.getSceneContext()); map.put("label", sv.getSceneContext());
map.put("value", sv.getSceneValue()); map.put("value", sv.getSceneValue());
list.add(map); list.add(map);
deviceVo.setTempValue(list); deviceVo.setTempValue(list);

Loading…
Cancel
Save