zhanghua
2022-11-25 1adb62f9f3e71b17430edead1af2ce65f950b249
ycl-platform/src/main/java/com/ycl/controller/epuipment/EquipmentBayonetController.java
@@ -41,7 +41,7 @@
    @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) {
@@ -65,6 +65,13 @@
        return CommonResult.success(iEquipmentBayonetService.updateById(equipmentBayonet));
    }
    @DeleteMapping("/delete/{id}")
    @ApiOperation("修改")
    @LogSave(operationType = "卡口管理", contain = "删除卡口")
    public CommonResult delete(@PathVariable Integer id) {
        return CommonResult.success(iEquipmentBayonetService.removeById(id));
    }
    @GetMapping("/export")
    @ApiOperation("导出")
    @SneakyThrows