|
|
@@ -19,7 +19,6 @@ public class BaseTenantEntity extends BaseEntity { |
|
|
@io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") |
|
|
@io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") |
|
|
private String tenantId; |
|
|
private String tenantId; |
|
|
|
|
|
|
|
|
@TableField(exist = false) |
|
|
|
|
|
@io.swagger.annotations.ApiModelProperty(value="父租户ID",name="parentTenantId") |
|
|
@io.swagger.annotations.ApiModelProperty(value="父租户ID",name="parentTenantId") |
|
|
private String parentTenantId; |
|
|
private String parentTenantId; |
|
|
|
|
|
|
|
|
@@ -28,7 +27,6 @@ public class BaseTenantEntity extends BaseEntity { |
|
|
private TenantEntity tenantInfo; |
|
|
private TenantEntity tenantInfo; |
|
|
|
|
|
|
|
|
public void updateTenantInfo(TenantEntity info) { |
|
|
public void updateTenantInfo(TenantEntity info) { |
|
|
log.info("info.tenantId:"+info.getTenantId()+". info.parentTenantId:"+info.getParentTenantId()+"."); |
|
|
|
|
|
setTenantId(info.getTenantId()); |
|
|
setTenantId(info.getTenantId()); |
|
|
if (StringUtils.isNotBlank(info.getParentTenantId())) { |
|
|
if (StringUtils.isNotBlank(info.getParentTenantId())) { |
|
|
setParentTenantId(info.getParentTenantId()); |
|
|
setParentTenantId(info.getParentTenantId()); |
|
|
|