给租户管理增加角色切换的功能

This commit is contained in:
jishenghua
2024-12-23 00:34:03 +08:00
parent 6f294fad62
commit bd1d96b58d
12 changed files with 106 additions and 29 deletions

View File

@@ -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;
}
}

View File

@@ -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);
}