| | |
| | | |
| | | @GetMapping("/query") |
| | | @ApiOperation("查询") |
| | | @LogSave |
| | | @LogSave(operationType = "卡口管理", contain = "查询卡口") |
| | | public CommonResult search(@RequestParam(required = false) Integer size, |
| | | @RequestParam(required = false) Integer current, |
| | | @RequestParam(required = false) String bayonetName) { |
| | |
| | | return CommonResult.success(iEquipmentBayonetService.updateById(equipmentBayonet)); |
| | | } |
| | | |
| | | @GetMapping("/export") |
| | | @DeleteMapping("/delete/{id}") |
| | | @ApiOperation("删除") |
| | | @LogSave(operationType = "卡口管理", contain = "删除卡口") |
| | | public CommonResult delete(@PathVariable Integer id) { |
| | | return CommonResult.success(iEquipmentBayonetService.removeById(id)); |
| | | } |
| | | |
| | | |
| | | @PostMapping("/export") |
| | | @ApiOperation("导出") |
| | | @SneakyThrows |
| | | @LogSave(operationType = "卡口管理", contain = "导出卡口") |