| | |
| | | public AjaxResult updateLockEnableByCarId(@RequestBody Map<String,Object> para) { |
| | | return toAjax(ardTankLockService.updateLockEnableByCarId(para)); |
| | | } |
| | | |
| | | @ApiOperation("根据车牌号查询电磁锁手动操控记录") |
| | | @PreAuthorize("@ss.hasPermi('sy:lock:getArdTankLockProcessLogByCarPlate')") |
| | | @PostMapping("/getArdTankLockProcessLogByCarPlate") |
| | | public TableDataInfo getArdTankLockProcessLogByCarPlate(@RequestBody Map<String,Object> para) { |
| | | Map<String,Object> result = ardTankLockProcessLogService.getArdTankLockProcessLogByCarPlate(para); |
| | | |
| | | TableDataInfo dataTable = new TableDataInfo(); |
| | | dataTable.setRows((List<Map<String,Object>>) result.get("list")); |
| | | dataTable.setTotal((Long) result.get("total")); |
| | | dataTable.setCode(200); |
| | | dataTable.setMsg("查询成功"); |
| | | return dataTable; |
| | | } |
| | | } |