疯狂的狮子Li
2024-04-24 eb06eb7266be9a73433b049b0b08754491bddce2
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)));
    }
}