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

修改同步用户

parent 0f18bcbf
......@@ -82,8 +82,8 @@ public class RoomController extends BaseCRUDJsonBodyMappingController<RoomServic
super.doListBefore(query, model, context);
if (!ObjectUtils.isEmpty(query.getDeviceCode())) {
//根据设备编码 查询房间room
query.setDeviceCode(null);
RoomDeviceEntity roomEntity = roomDeviceService.selectOne(new RoomDeviceQuery().deviceCode(query.getDeviceCode()));
query.setDeviceCode(null);
if (!ObjectUtils.isEmpty(roomEntity)) {
// query.setIdList(Arrays.asList(roomEntity.getRoomId()));
query.setId(roomEntity.getRoomId());
......
......@@ -20,7 +20,7 @@ Content-Type: application/json
{
"page":1,
"size":1,
"deviceCode":"11-22-33-44"
"deviceCode":"0E-B7-8C-0F-6E-9B"
}
......
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