You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Tiobon.Web.Core/Tiobon.Core.Repository/IRoleModulePermissionReposi...

24 lines
839 B

using Tiobon.Core.IRepository.Base;
using Tiobon.Core.Model.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Tiobon.Core.IRepository
{
/// <summary>
/// IRoleModulePermissionRepository
/// </summary>
public interface IRoleModulePermissionRepository : IBaseRepository<RoleModulePermission>//类名
{
Task<List<TestMuchTableResult>> QueryMuchTable();
Task<List<RoleModulePermission>> RoleModuleMaps();
Task<List<RoleModulePermission>> GetRMPMaps();
/// <summary>
/// 批量更新菜单与接口的关系
/// </summary>
/// <param name="permissionId">菜单主键</param>
/// <param name="moduleId">接口主键</param>
/// <returns></returns>
Task UpdateModuleId(long permissionId, long moduleId);
}
}