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.
59 lines
1.4 KiB
59 lines
1.4 KiB
9 months ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace RoadFlow.Data.Interface
|
||
|
{
|
||
|
public interface IUsersRole
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 新增
|
||
|
/// </summary>
|
||
|
int Add(RoadFlow.Data.Model.UsersRole model);
|
||
|
|
||
|
/// <summary>
|
||
|
/// 更新
|
||
|
/// </summary>
|
||
|
int Update(RoadFlow.Data.Model.UsersRole model);
|
||
|
|
||
|
/// <summary>
|
||
|
/// 查询所有记录
|
||
|
/// </summary>
|
||
|
List<RoadFlow.Data.Model.UsersRole> GetAll();
|
||
|
|
||
|
/// <summary>
|
||
|
/// 查询单条记录
|
||
|
/// </summary>
|
||
|
Model.UsersRole Get(Guid memberid, Guid roleid);
|
||
|
|
||
|
/// <summary>
|
||
|
/// 删除
|
||
|
/// </summary>
|
||
|
int Delete(Guid memberid, Guid roleid);
|
||
|
|
||
|
/// <summary>
|
||
|
/// 查询记录条数
|
||
|
/// </summary>
|
||
|
long GetCount();
|
||
|
|
||
|
/// <summary>
|
||
|
/// 删除一个机构所有记录
|
||
|
/// </summary>
|
||
|
int DeleteByUserID(string userID);
|
||
|
|
||
|
/// <summary>
|
||
|
/// 删除一个角色所有记录
|
||
|
/// </summary>
|
||
|
int DeleteByRoleID(Guid roleid);
|
||
|
|
||
|
/// <summary>
|
||
|
/// 根据一组机构ID查询记录
|
||
|
/// </summary>
|
||
|
List<RoadFlow.Data.Model.UsersRole> GetByUserIDArray(Guid[] userIDArray);
|
||
|
|
||
|
/// <summary>
|
||
|
/// 根据人员ID查询记录
|
||
|
/// </summary>
|
||
|
List<RoadFlow.Data.Model.UsersRole> GetByUserID(string userID);
|
||
|
}
|
||
|
}
|