给租户管理增加角色切换的功能
This commit is contained in:
@@ -8,6 +8,10 @@ public class TenantEx extends Tenant{
|
||||
|
||||
private Integer userCount;
|
||||
|
||||
private Long roleId;
|
||||
|
||||
private String roleName;
|
||||
|
||||
public String getCreateTimeStr() {
|
||||
return createTimeStr;
|
||||
}
|
||||
@@ -31,4 +35,20 @@ public class TenantEx extends Tenant{
|
||||
public void setUserCount(Integer userCount) {
|
||||
this.userCount = userCount;
|
||||
}
|
||||
|
||||
public Long getRoleId() {
|
||||
return roleId;
|
||||
}
|
||||
|
||||
public void setRoleId(Long roleId) {
|
||||
this.roleId = roleId;
|
||||
}
|
||||
|
||||
public String getRoleName() {
|
||||
return roleName;
|
||||
}
|
||||
|
||||
public void setRoleName(String roleName) {
|
||||
this.roleName = roleName;
|
||||
}
|
||||
}
|
||||
@@ -19,4 +19,6 @@ public interface UserBusinessMapperEx {
|
||||
List<UserBusiness> getBasicDataByKeyIdAndType(
|
||||
@Param("keyId") String keyId,
|
||||
@Param("type") String type);
|
||||
|
||||
void updateValueByTypeAndKeyId(@Param("type") String type, @Param("keyId") String keyId, @Param("ubValue") String ubValue);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user