@@ -140,7 +140,9 @@ public class TenantServiceImpl implements TenantService { | |||
TenantEmploy tenantEmploy = new TenantEmploy(); | |||
tenantEmploy.setTenantId(tenantPo.getId()); | |||
tenantEmploy.setPlatformCode(platform.getPlatformCode()); | |||
tenantEmploy.setServiceId(clientRoleDto.getServiceId()); | |||
if (ObjectUtil.isNotEmpty(clientRoleDto.getServiceId())) { | |||
tenantEmploy.setServiceId(clientRoleDto.getServiceId()); | |||
} | |||
tenantEmployMapper.insert(tenantEmploy); | |||
} | |||
//拼接 |