bug调整

This commit is contained in:
ys.git 2025-12-23 10:19:22 +08:00
parent f6ab867a94
commit 87e768afc7

View File

@ -134,9 +134,9 @@ public class PermissionController {
// 查看角色绑定的人员或部门列表 // 查看角色绑定的人员或部门列表
@GetMapping("/selectUserOrDeptByRole") @GetMapping("/selectUserOrDeptByRole")
public Response selectUserOrDeptByRole( public Response selectUserOrDeptByRole(
@NotBlank String roleID @NotBlank String roleId
) { ) {
HashMap<String, List<String>> map = modelRoleService.selectUserOrDeptByRole(roleID); HashMap<String, List<String>> map = modelRoleService.selectUserOrDeptByRole(roleId);
if (ObjectUtils.isEmpty(map)) { if (ObjectUtils.isEmpty(map)) {
return Response.ok().data(new HashMap<>()); return Response.ok().data(new HashMap<>());
} }