forked from wenjy/HighWayIot
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.3 KiB
C#
46 lines
1.3 KiB
C#
using HighWayIot.Repository.domain;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace HighWayIot.Repository.service
|
|
{
|
|
public interface ISysUserRoleService
|
|
{
|
|
|
|
/// <summary>
|
|
/// 条件查询所有角色列表
|
|
/// </summary>
|
|
/// <param name="userName">用户名</param>
|
|
/// <param name="userRole">用户角色</param>
|
|
/// <param name="beginTime">开始时间</param>
|
|
/// <param name="endTime">结束时间</param>
|
|
/// <param name="isSelectByTime">是否</param>
|
|
/// <returns></returns>
|
|
List<SysRoleEntity> GetRoleInfos();
|
|
|
|
/// <summary>
|
|
/// 添加角色信息
|
|
/// </summary>
|
|
/// <param name="sysRoleEntity"></param>
|
|
/// <returns></returns>
|
|
bool InsertRoleInfo(SysRoleEntity sysRoleEntity);
|
|
|
|
/// <summary>
|
|
/// 修改角色信息
|
|
/// </summary>
|
|
/// <param name="sysRoleEntity"></param>
|
|
/// <returns></returns>
|
|
bool UpdateRoleInfo(SysRoleEntity sysRoleEntity);
|
|
|
|
/// <summary>
|
|
/// 根据ID删除角色信息
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
bool DeleteRoleInfoById(int id);
|
|
}
|
|
}
|