权限设计思路(5)
发布时间:2021-06-07
发布时间:2021-06-07
/// </summary>
/// <param name="BaseUser">操作人</param>
/// <param name="userEntity">用户实体</param>
/// <returns>是否成功</returns>
string AddUser(BaseUserInfoLog BaseUser, User UserEntity);
/// <summary>
/// 根据角色得到用户
/// </summary>
/// <param name="BaseUser">操作人</param>
/// <param name="RoleNo">角色编码</param>
/// <returns>返回DataTable</returns>
DataTable GetByRole(BaseUserInfoLog BaseUser, string RoleNo);
/// <summary>
/// 删除用户
/// </summary>
/// <param name="BaseUser">操作人</param>
/// <param name="UserNo">用户编码</param>
/// <returns>返回的条数</returns>
int Delete(BaseUserInfoLog BaseUser, string UserNo);
/// <summary>
/// 批量删除
/// </summary>
/// <param name="BaseUser">操作人</param>
/// <param name="UserNo">用户编码</param>
/// <returns>返回的条数</returns>
int BatchDelete(BaseUserInfoLog BaseUser, List<string> UserNo);
/// <summary>
/// 修改用户
/// </summary>
/// <param name="BaseUser">操作人</param>
/// <param name="UserEntity">用户实体</param>
/// <param name="UserNo">用户编码</param>
/// <returns>返回条数</returns>
int UpdateUser(BaseUserInfoLog BaseUser, User UserEntity, string UserNo);
/// <summary>
/// 查看用户列表
/// </summary>
/// <param name="BaseUser">操作人</param>
/// <returns>DataTable</returns>
DataTable Search(BaseUserInfoLog BaseUser);
/// <summary>
/// 查看用户列表
/// </summary>
/// <param name="BaseUser">操作人</param>