From d66edbeffee5e308504e48372a5bb4d04aa4e843 Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期一, 06 一月 2025 13:23:06 +0800
Subject: [PATCH] 租户套餐名称重复判定

---
 iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/permission/MenuService.java |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)

diff --git a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/permission/MenuService.java b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/permission/MenuService.java
index 2ab458b..9bb4b4c 100644
--- a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/permission/MenuService.java
+++ b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/permission/MenuService.java
@@ -71,6 +71,14 @@
     List<MenuDO> filterDisableMenus(List<MenuDO> list);
 
     /**
+     * 过滤掉业务菜单或系统菜单及其子菜单
+     *
+     * @param list 菜单列表
+     * @return 过滤后的菜单列表
+     */
+    List<MenuDO> filterMenus(List<MenuDO> list, String type);
+
+    /**
      * 筛选菜单列表
      *
      * @param reqVO 筛选条件请求 VO
@@ -84,7 +92,7 @@
      * @param reqVO 筛选条件请求 VO
      * @return 菜单列表
      */
-    List<MenuDO> getAppMenuList(MenuListReqVO reqVO);
+    List<MenuDO> getAppMenuList(Long tenantId, MenuListReqVO reqVO);
 
     /**
      * 获得权限对应的菜单编号数组
@@ -103,6 +111,14 @@
     MenuDO getMenu(Long id);
 
     /**
+     * 根据应用id获得菜单
+     *
+     * @param id 菜单编号
+     * @return 菜单
+     */
+    MenuDO getMenuByAppId(Long id);
+
+    /**
      * 获得菜单数组
      *
      * @param ids 菜单编号数组
@@ -110,4 +126,11 @@
      */
     List<MenuDO> getMenuList(Collection<Long> ids);
 
+    /**
+     * 根据父id查询菜单
+     * @param ids
+     * @return
+     */
+    List<MenuDO> selectListByParentId(Collection<Long> ids);
+
 }

--
Gitblit v1.9.3