| | |
| | | |
| | | 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; |
| | |
| | | PageHelper.startPage((Integer) para.get("pageNum"), (Integer) para.get("pageSize")); |
| | | ArdTankWall ardTankWall = new ArdTankWall(); |
| | | ardTankWall.setWallName((String) para.get("wallName")); |
| | | List<ArdTankWall> list = ardTankWallService.selectArdTankWallList(ardTankWall); |
| | | Map<String,Object> result = ardTankWallService.selectArdTankWallList(ardTankWall); |
| | | |
| | | TableDataInfo dataTable = new TableDataInfo(); |
| | | dataTable.setRows(list); |
| | | dataTable.setTotal(list.size()); |
| | | dataTable.setRows((List<ArdTankWall>) result.get("list")); |
| | | dataTable.setTotal((Long) result.get("total")); |
| | | dataTable.setCode(200); |
| | | dataTable.setMsg("查询成功"); |
| | | return dataTable; |
| | |
| | | String userId = SecurityUtils.getUserId(); |
| | | List<Map<String,String>> result = ardTankLockService.getLockByCarPlate(userId,para.get("carPlate")); |
| | | return getDataTable(result);*/ |
| | | PageHelper.startPage((Integer) para.get("pageNum"), (Integer) para.get("pageSize")); |
| | | //PageHelper.startPage((Integer) para.get("pageNum"), (Integer) para.get("pageSize")); |
| | | String userId = SecurityUtils.getUserId(); |
| | | List<Map<String,Object>> result = ardTankLockService.getLockByCarPlate(userId, (String) para.get("carPlate")); |
| | | Map<String,Object> result = ardTankLockService.getLockByCarPlate(userId, (String) para.get("carPlate"),(Integer) para.get("pageNum"), (Integer) para.get("pageSize")); |
| | | |
| | | 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; |