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.
50 lines
1.6 KiB
50 lines
1.6 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Data;
|
|
|
|
namespace FangYar.IDAL.TBL
|
|
{
|
|
public interface SysRolepermIDAL
|
|
{
|
|
/// <summary>
|
|
/// 根据ID获取model
|
|
/// </summary>
|
|
FangYar.Model.TBL.TBL_SYS_ROLEPERM_Model GetModelByID(string ID);
|
|
/// <summary>
|
|
/// 根据RoleId获取model
|
|
/// </summary>
|
|
FangYar.Model.TBL.TBL_SYS_ROLEPERM_Model GetModelByRoleId(string RoleId);
|
|
/// <summary>
|
|
/// 添加菜单
|
|
/// </summary>
|
|
bool Add(FangYar.Model.TBL.TBL_SYS_ROLEPERM_Model model);
|
|
/// <summary>
|
|
/// 删除
|
|
/// </summary>
|
|
bool Delete(string IDList);
|
|
/// <summary>
|
|
/// 编辑
|
|
/// </summary>
|
|
bool Edit(FangYar.Model.TBL.TBL_SYS_ROLEPERM_Model model);
|
|
/// <summary>
|
|
/// 获取记录总数
|
|
/// </summary>
|
|
/// <param name="where"></param>
|
|
/// <returns></returns>
|
|
int Count(string where);
|
|
/// <summary>
|
|
/// 分页
|
|
/// </summary>
|
|
/// <param name="PageIndex"></param>
|
|
/// <param name="PageSize"></param>
|
|
/// <param name="strwhere"></param>
|
|
/// <param name="order"></param>
|
|
void QueryProc(int PageIndex, int PageSize, string strwhere, string order);
|
|
|
|
List<FangYar.Model.TBL.TBL_SYS_ROLEPERM_Model> QueryList(int PageIndex, int PageSize, string strwhere, string order);
|
|
//联合查询,当前应用,当前角色的权限
|
|
DataTable RolePermDataset(string appid, string roleid);
|
|
}
|
|
}
|
|
|