diff --git a/cloud-common/src/main/java/com/cm/common/pojo/bos/UserBO.java b/cloud-common/src/main/java/com/cm/common/pojo/bos/UserBO.java index f185b11..9b1ec7d 100644 --- a/cloud-common/src/main/java/com/cm/common/pojo/bos/UserBO.java +++ b/cloud-common/src/main/java/com/cm/common/pojo/bos/UserBO.java @@ -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 baseDepartmentIds; private List 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 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\":")