From 4576801e7543fcb86ab50fc260dd1488e067f173 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 13 Dec 2025 09:48:09 +0800 Subject: [PATCH] =?UTF-8?q?1476=20fix:=20=E4=BF=AE=E5=A4=8Dsystem=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E5=B2=97=E4=BD=8D=E6=89=B9=E9=87=8F=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/controller/admin/dept/PostController.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/PostController.java b/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/PostController.java index 0f1b957f18..b8d24721bb 100644 --- a/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/PostController.java +++ b/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/PostController.java @@ -64,6 +64,14 @@ public class PostController { return success(true); } + @DeleteMapping("delete-list") + @Operation(summary = "批量删除岗位") + @PreAuthorize("@ss.hasPermission('system:post:delete')") + public CommonResult deletePostList(@RequestParam("ids") List ids) { + postService.deletePostList(ids); + return success(true); + } + @GetMapping(value = "/get") @Operation(summary = "获得岗位信息") @Parameter(name = "id", description = "岗位编号", required = true, example = "1024")