Commit 50ef48a5 authored by 廖旭伟's avatar 廖旭伟

设备列表接口返回值增加数量

parent 20a4250c
...@@ -62,6 +62,8 @@ public class DeviceServiceImpl extends AbstractCRUDServiceImpl<DeviceDao, Device ...@@ -62,6 +62,8 @@ public class DeviceServiceImpl extends AbstractCRUDServiceImpl<DeviceDao, Device
}).collect(Collectors.toList()); }).collect(Collectors.toList());
result.setList(collect); result.setList(collect);
pageInfo.setTotalResult(collect.size());
result.setPageInfo(pageInfo);
result.setDict(rest.getDict()); result.setDict(rest.getDict());
} }
return result; return result;
......
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