Commit f62a22f7 authored by 赵啸非's avatar 赵啸非

修改同步用户

parent 4f6433b2
...@@ -56,7 +56,7 @@ public class RoomController extends BaseCRUDJsonBodyMappingController<RoomServic ...@@ -56,7 +56,7 @@ public class RoomController extends BaseCRUDJsonBodyMappingController<RoomServic
@Override @Override
protected void init(Map<String, Object> model, Context context) { protected void init(Map<String, Object> model, Context context) {
this.addDict(model, "roomType", paramService.getParamBySecondOrganize("Room","roomType")); this.addDict(model, "roomType", paramService.getParamBySecondOrganize("Room","roomType"));
this.addDict(model, "device", deviceService.find(new DeviceQuery())); //this.addDict(model, "device", deviceService.find(new DeviceQuery()));
Set<Long> deviceLedSet =roomDeviceService.find(new RoomDeviceQuery()).stream().filter(f -> f.getDeviceId() != null).map(item -> item.getDeviceId()).collect(Collectors.toSet()); Set<Long> deviceLedSet =roomDeviceService.find(new RoomDeviceQuery()).stream().filter(f -> f.getDeviceId() != null).map(item -> item.getDeviceId()).collect(Collectors.toSet());
......
...@@ -20,7 +20,7 @@ Content-Type: application/json ...@@ -20,7 +20,7 @@ Content-Type: application/json
{ {
"page":1, "page":1,
"size":1, "size":1,
"deviceCode":"a0-9f-10-5a-e0-10" "deviceCode":"11-22-33-44"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment