1476 fix: 修复system模块岗位批量删除接口

This commit is contained in:
YunaiV
2025-12-13 09:48:09 +08:00
parent e1f64eaad2
commit 4576801e75

View File

@@ -64,6 +64,14 @@ public class PostController {
return success(true);
}
@DeleteMapping("delete-list")
@Operation(summary = "批量删除岗位")
@PreAuthorize("@ss.hasPermission('system:post:delete')")
public CommonResult<Boolean> deletePostList(@RequestParam("ids") List<Long> ids) {
postService.deletePostList(ids);
return success(true);
}
@GetMapping(value = "/get")
@Operation(summary = "获得岗位信息")
@Parameter(name = "id", description = "岗位编号", required = true, example = "1024")