From f001ab0828563d6bef95360b2007b71b236d5589 Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Thu, 26 Dec 2019 23:45:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0ukey=E5=92=8CloginType?= =?UTF-8?q?=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/cm/common/pojo/bos/UserBO.java | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) 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\":")