예제 #1
0
 /// <summary>
 /// 获取角色列表
 /// </summary>
 /// <param name="whereSort"></param>
 /// <returns></returns>
 public PagerSet GetRoleDirectory(WhereSort whereSort)
 {
     return(AdminData.GetPager(new PagerParameters
     {
         IsSql = false,
         Table = RoleDirectory.Tablename,
         WhereStr = whereSort.Where(),
         PKey = whereSort.IsSort("ORDER BY ID "),
         PageIndex = whereSort.Page,
         PageSize = whereSort.Limit
     }));
 }
예제 #2
0
 /// <summary>
 /// 获取管理用户列表
 /// </summary>
 /// <param name="whereSort"></param>
 /// <returns></returns>
 public PagerSet GetBaseUserList(WhereSort whereSort)
 {
     return(AdminData.GetPager(new PagerParameters
     {
         IsSql = false,
         Table = "V_BaseUser",
         WhereStr = whereSort.Where(),
         PKey = whereSort.IsSort("ORDER BY ID "),
         PageIndex = whereSort.Page,
         PageSize = whereSort.Limit
     }));
 }
예제 #3
0
 /// <summary>
 /// 获取操作日志列表
 /// </summary>
 /// <param name="whereSort">分页查询对象</param>
 /// <returns></returns>
 public PagerSet GetBaseLog(WhereSort whereSort)
 {
     return(AdminData.GetPager(new PagerParameters
     {
         IsSql = false,
         Table = BaseLog.Tablename,
         WhereStr = whereSort.Where(),
         PKey = whereSort.IsSort("ORDER BY BaseTime DESC "),
         PageIndex = whereSort.Page,
         PageSize = whereSort.Limit
     }));
 }