|
@@ -93,7 +93,7 @@ public class PlatformServeServiceImpl extends ServiceImpl<PlatformServeDao, Plat
|
|
|
|
|
|
TenantProductInfo productInfo = tenantProductInfoService.getOne(new QueryWrapper<TenantProductInfo>()
|
|
TenantProductInfo productInfo = tenantProductInfoService.getOne(new QueryWrapper<TenantProductInfo>()
|
|
.eq("serve_id_", id));
|
|
.eq("serve_id_", id));
|
|
- if(Objects.isNull(productInfo)){
|
|
|
|
|
|
+ if(Objects.nonNull(productInfo)){
|
|
throw new BizException("该服务已关联机构无法删除!");
|
|
throw new BizException("该服务已关联机构无法删除!");
|
|
}
|
|
}
|
|
|
|
|