Browse Source

是否是区域或者超管

tags/24080901
PoffyZhang 1 year ago
parent
commit
e597d23808
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java
  2. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/user/model/vo/UserRoleVO.java

+ 1
- 0
pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java View File

@@ -331,6 +331,7 @@ public class UserInfoManage {
UserRoleVO userRoleVO = new UserRoleVO(); UserRoleVO userRoleVO = new UserRoleVO();
userRoleVO.setId(r.getId()); userRoleVO.setId(r.getId());
userRoleVO.setName(r.getName()); userRoleVO.setName(r.getName());
userRoleVO.setCode(r.getCode());
return userRoleVO; return userRoleVO;
}).collect(Collectors.toList()); }).collect(Collectors.toList());
} }


+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/user/model/vo/UserRoleVO.java View File

@@ -21,5 +21,5 @@ public class UserRoleVO {
private String name; private String name;


@ApiModelProperty(value = "角色code") @ApiModelProperty(value = "角色code")
private RoleEnum code;
private String code;
} }

Loading…
Cancel
Save