From 6b13839488edcd06046e26a41fe897358176689c Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期五, 13 十二月 2024 17:56:41 +0800
Subject: [PATCH] 采集质量

---
 iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/app/AppServiceImpl.java |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/app/AppServiceImpl.java b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/app/AppServiceImpl.java
index 6d58734..81dc938 100644
--- a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/app/AppServiceImpl.java
+++ b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/app/AppServiceImpl.java
@@ -220,6 +220,7 @@
             LambdaQueryWrapperX<MenuDO> menuWrapper = new LambdaQueryWrapperX<>();
             menuWrapper.eq(MenuDO::getAppId, app.getId());
             menuWrapper.eq(MenuDO::getType, MenuTypeEnum.DIR.getType());
+            menuWrapper.eq(MenuDO::getParentId, 0);
             MenuDO menu = menuMapper.selectOne(menuWrapper);
             TenantDO tenantDO = tenantMapper.selectById(app.getTenantId());
             if(ObjectUtils.isNotEmpty(menu) && ObjectUtils.isNotEmpty(tenantDO)) {

--
Gitblit v1.9.3