| | |
| | | |
| | | PageHelper.startPage((Integer) para.get("pageNum"), (Integer) para.get("pageSize")); |
| | | String userId = SecurityUtils.getUserId(); |
| | | List<Map<String,Object>> result = ardTankLockService.getAll(userId); |
| | | Map<String,Object> result = ardTankLockService.getAll(userId); |
| | | |
| | | TableDataInfo dataTable = new TableDataInfo(); |
| | | dataTable.setRows(result); |
| | | dataTable.setTotal(result.size()); |
| | | dataTable.setRows((List<Map<String,Object>>) result.get("list")); |
| | | dataTable.setTotal((Long) result.get("total")); |
| | | dataTable.setCode(200); |
| | | dataTable.setMsg("查询成功"); |
| | | return dataTable; |