添加ukey和loginType属性

This commit is contained in:
wenc000 2019-12-26 23:45:37 +08:00
parent 553c5909b6
commit f001ab0828

View File

@ -18,6 +18,8 @@ public class UserBO extends User {
private String userId;
private String userName;
private String userPhone;
private String userUKey;
private Integer loginType;
private String dataAuthority;
private List<String> baseDepartmentIds;
private List<String> dataAuthorityUserIds;
@ -61,6 +63,22 @@ public class UserBO extends User {
this.userPhone = userPhone;
}
public String getUserUKey() {
return userUKey == null ? "" : userUKey.trim();
}
public void setUserUKey(String userUKey) {
this.userUKey = userUKey;
}
public Integer getLoginType() {
return loginType;
}
public void setLoginType(Integer loginType) {
this.loginType = loginType;
}
public List<String> getBaseDepartmentIds() {
return baseDepartmentIds;
}
@ -118,6 +136,10 @@ public class UserBO extends User {
.append("\"").append(userName).append("\"");
sb.append(",\"userPhone\":")
.append("\"").append(userPhone).append("\"");
sb.append(",\"userUKey\":")
.append("\"").append(userUKey).append("\"");
sb.append(",\"loginType\":")
.append(loginType);
sb.append(",\"dataAuthority\":")
.append("\"").append(dataAuthority).append("\"");
sb.append(",\"baseDepartmentIds\":")