Commit e9bb3f73 authored by zhaochengming's avatar zhaochengming

总部--bug修改

parent ce58fa8e
...@@ -99,8 +99,10 @@ public class TenantServiceImpl extends ServiceImpl<TenantMapper, OcpTenantGroup> ...@@ -99,8 +99,10 @@ public class TenantServiceImpl extends ServiceImpl<TenantMapper, OcpTenantGroup>
} else if (StringUtils.isBlank(tenanBaseDto.getTenantGroupLevel())) { } else if (StringUtils.isBlank(tenanBaseDto.getTenantGroupLevel())) {
group.setTenantGroupLevel("Middleground"); group.setTenantGroupLevel("Middleground");
} }
if (StringUtils.isNotBlank(tenanBaseDto.getTenantGroupName())) { if (StringUtils.isNotBlank(tenanBaseDto.getTenantGroupCode())) {
group.setClassIfy(tenanBaseDto.getTenantGroupName()); 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