Explorar el Código

去掉原系统的数据权限过滤

gao.qiang hace 2 años
padre
commit
d15ed2a916

+ 15 - 0
base-common/src/main/java/com/ozs/common/core/domain/entity/SysUser.java

@@ -13,6 +13,7 @@ import com.ozs.common.annotation.Excel.Type;
 import com.ozs.common.annotation.Excels;
 import com.ozs.common.core.domain.BaseEntity;
 import com.ozs.common.xss.Xss;
+import sun.security.util.Password;
 
 /**
  * 用户对象 sys_user
@@ -140,6 +141,11 @@ public class SysUser extends BaseEntity {
     @TableField(exist = false)
     @Excel(name = "角色名称")
     private String roleName;
+    /**
+     * 新密码
+     */
+    @TableField(exist = false)
+    private  String newPassword;
 
     public Integer getDataPermission() {
         return dataPermission;
@@ -153,6 +159,14 @@ public class SysUser extends BaseEntity {
 
     }
 
+    public String getNewPassword() {
+        return newPassword;
+    }
+
+    public void setNewPassword(String newPassword) {
+        this.newPassword = newPassword;
+    }
+
     public String getRoleName() {
         return roleName;
     }
@@ -367,6 +381,7 @@ public class SysUser extends BaseEntity {
                 .append("dataPermission", getDataPermission())
                 .append("deptName",getDeptName())
                 .append("roleName",getRoleName())
+                .append("newPassword",getNewPassword())
                 .toString();
     }
 }