Переглянути джерело

Merge remote-tracking branch 'origin/saas' into saas

yanite 3 роки тому
батько
коміт
ec033ce75d

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/PlatformServeServiceImpl.java

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