| | |
| | | return toAjax(ardTankWallService.deleteArdTankWallById(id)); |
| | | } |
| | | |
| | | @ApiOperation("查询全部电子围栏") |
| | | /*@ApiOperation("查询全部电子围栏") |
| | | @PreAuthorize("@ss.hasPermi('sy:lock:getAllArdTankWall')") |
| | | @GetMapping("/getAllArdTankWall") |
| | | public Results getAllArdTankWall() { |
| | | List<ArdTankWall> result = ardTankWallService.getAllArdTankWall(); |
| | | return Results.succeed(result); |
| | | }*/ |
| | | |
| | | @ApiOperation("查询全部电子围栏") |
| | | @PreAuthorize("@ss.hasPermi('sy:lock:getAllArdTankWall')") |
| | | @PostMapping("/getAllArdTankWall") |
| | | public TableDataInfo getAllArdTankWall(@RequestBody ArdTankWall ardTankWall) { |
| | | startPage(); |
| | | List<ArdTankWall> list = ardTankWallService.selectArdTankWallList(ardTankWall); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | @ApiOperation("根据主键获取电磁锁电子围栏") |
| | | @PreAuthorize("@ss.hasPermi('sy:tankWall:getArdTankWallById')") |
| | | @GetMapping(value = "/getArdTankWallById/{id}") |
| | | public AjaxResult getArdTankWallById(@PathVariable String id) { |
| | | return success(ardTankWallService.selectArdTankWallById(id)); |
| | | } |
| | | } |