From efd195ae374d810f32d2ddb5b43008b0fd78580c Mon Sep 17 00:00:00 2001 From: PIGCLOUD Date: Tue, 18 Nov 2025 09:54:56 +0800 Subject: [PATCH] =?UTF-8?q?feat(RemoteDataScopeService):=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9getRoleList=E5=8F=82=E6=95=B0=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E4=B8=BAList=E4=BB=A5=E6=94=AF=E6=8C=81=E5=AD=97?= =?UTF-8?q?=E7=AC=A6=E4=B8=B2=E7=B1=BB=E5=9E=8BroleId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将getRoleList方法的roleIdList参数类型从List改为List - 保持getDescendantList方法的deptId参数类型仍为Long不变 --- .../api/feign/RemoteDataScopeService.java | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/pigx-upms/pigx-upms-api/src/main/java/com/pig4cloud/pigx/admin/api/feign/RemoteDataScopeService.java b/pigx-upms/pigx-upms-api/src/main/java/com/pig4cloud/pigx/admin/api/feign/RemoteDataScopeService.java index f99fc2981..ddb3544af 100644 --- a/pigx-upms/pigx-upms-api/src/main/java/com/pig4cloud/pigx/admin/api/feign/RemoteDataScopeService.java +++ b/pigx-upms/pigx-upms-api/src/main/java/com/pig4cloud/pigx/admin/api/feign/RemoteDataScopeService.java @@ -38,20 +38,22 @@ import java.util.List; @FeignClient(contextId = "remoteDataScopeService", value = ServiceNameConstants.UPMS_SERVICE) public interface RemoteDataScopeService { - /** - * 通过角色ID 查询角色列表 - * @param roleIdList 角色ID - * @return - */ - @PostMapping("/role/getRoleList") - R> getRoleList(@RequestBody List roleIdList); + /** + * 通过角色ID 查询角色列表 + * + * @param roleIdList 角色ID + * @return + */ + @PostMapping("/role/getRoleList") + R> getRoleList(@RequestBody List roleIdList); - /** - * 获取子级部门 - * @param deptId 部门ID - * @return - */ - @GetMapping("/dept/getDescendantList/{deptId}") - R> getDescendantList(@PathVariable("deptId") Long deptId); + /** + * 获取子级部门 + * + * @param deptId 部门ID + * @return + */ + @GetMapping("/dept/getDescendantList/{deptId}") + R> getDescendantList(@PathVariable("deptId") Long deptId); }