|
@@ -13,8 +13,7 @@ import java.util.List;
|
|
|
* @author yq
|
|
|
*/
|
|
|
@Repository
|
|
|
-public interface SysMenuMapper
|
|
|
-{
|
|
|
+public interface SysMenuMapper {
|
|
|
/**
|
|
|
* 查询系统菜单列表
|
|
|
*
|
|
@@ -23,9 +22,9 @@ public interface SysMenuMapper
|
|
|
*/
|
|
|
public List<SysMenu> selectMenuList(SysMenu menu);
|
|
|
|
|
|
- public List<SysMenu> getMenuListOne(Long userId,String menuType);
|
|
|
+ public List<SysMenu> getMenuListOne(Long userId, String menuType);
|
|
|
|
|
|
- public List<SysMenu> getMenuListTwo(Long userId,String menuType,Integer tenantId);
|
|
|
+ public List<SysMenu> getMenuListTwo(Long userId, String menuType, Integer tenantId);
|
|
|
|
|
|
/**
|
|
|
* 根据用户所有权限
|
|
@@ -74,8 +73,11 @@ public interface SysMenuMapper
|
|
|
* @param userId
|
|
|
* @return
|
|
|
*/
|
|
|
- public List<SysMenu> getButtonlist(Long userId, String menuName,Long roleId);
|
|
|
- public List<SysMenu> getButtonlistTwo(Long userId, String menuName,Long roleId);
|
|
|
+ public List<SysMenu> getButtonlist(Long userId, String menuName, Long roleId);
|
|
|
+
|
|
|
+ public List<SysMenu> getTenantButtonlist(Integer tenantId, String menuName);
|
|
|
+
|
|
|
+ public List<SysMenu> getButtonlistTwo(Long userId, String menuName, Long roleId);
|
|
|
|
|
|
public List<SysMenu> getButtonlistOne(String menuName);
|
|
|
|
|
@@ -83,8 +85,8 @@ public interface SysMenuMapper
|
|
|
|
|
|
/**
|
|
|
* 根据角色ID查询菜单树信息
|
|
|
- *
|
|
|
- * @param roleId 角色ID
|
|
|
+ *
|
|
|
+ * @param roleId 角色ID
|
|
|
* @param menuCheckStrictly 菜单树选择项是否关联显示
|
|
|
* @return 选中菜单列表
|
|
|
*/
|