diff --git a/eladmin-system/src/main/java/me/zhengjie/modules/system/repository/MenuRepository.java b/eladmin-system/src/main/java/me/zhengjie/modules/system/repository/MenuRepository.java index 0d0876be..b4a07c73 100644 --- a/eladmin-system/src/main/java/me/zhengjie/modules/system/repository/MenuRepository.java +++ b/eladmin-system/src/main/java/me/zhengjie/modules/system/repository/MenuRepository.java @@ -19,4 +19,6 @@ public interface MenuRepository extends JpaRepository, JpaSpecificat List findByPid(long pid); LinkedHashSet findByRoles_IdAndTypeIsNotInOrderBySortAsc(Long id, Integer type); + + LinkedHashSet findByRoles_IdInAndTypeNotOrderBySortAsc(Set ids, Integer type); }