From 6cc2da03e03d597da09fd979b4474481c129aa6f Mon Sep 17 00:00:00 2001 From: wangql <937675070@qq.com> Date: 星期二, 23 四月 2024 10:18:50 +0800 Subject: [PATCH] update 优化工作流模块的集合工具类,统一为CollUtil --- ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/controller/system/SysPostController.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/controller/system/SysPostController.java b/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/controller/system/SysPostController.java index 3221a4a..330b3fb 100644 --- a/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/controller/system/SysPostController.java +++ b/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/controller/system/SysPostController.java @@ -113,10 +113,10 @@ * * @param postIds 宀椾綅ID涓� */ - @SaCheckPermission("system:dept:query") + @SaCheckPermission("system:post:query") @GetMapping("/optionselect") public R<List<SysPostVo>> optionselect(@RequestParam(required = false) Long[] postIds) { - return R.ok(postService.selectPostByIds(List.of(postIds))); + return R.ok(postService.selectPostByIds(postIds == null ? null : List.of(postIds))); } } -- Gitblit v1.9.3