Commit e9bb3f73 authored by zhaochengming's avatar zhaochengming

总部--bug修改

parent ce58fa8e
......@@ -99,8 +99,10 @@ public class TenantServiceImpl extends ServiceImpl<TenantMapper, OcpTenantGroup>
} else if (StringUtils.isBlank(tenanBaseDto.getTenantGroupLevel())) {
group.setTenantGroupLevel("Middleground");
}
if (StringUtils.isNotBlank(tenanBaseDto.getTenantGroupName())) {
group.setClassIfy(tenanBaseDto.getTenantGroupName());
if (StringUtils.isNotBlank(tenanBaseDto.getTenantGroupCode())) {
OcpTenantGroup ocpTenantGroup = tenantMapper.selectGroupCode(tenanBaseDto.getTenantGroupCode());
String tenantGroupName = ocpTenantGroup.getTenantGroupName();
group.setClassIfy(tenantGroupName);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment