/// <summary> /// 查询用户信息 /// </summary> /// <param name="startDate">开始时间</param> /// <param name="endDate">结束时间</param> /// <param name="userName">用户名</param> /// <param name="collegeId">学院ID</param> /// <param name="mjorId">专业ID</param> /// <param name="stageId">阶段ID</param> /// <param name="pageIndex">当前页</param> /// <param name="pageSize">每页几条</param> /// <returns>int 受影响行数</returns> public PageBox Query(DateTime?startDate, DateTime?endDate, string userName, int collegeId = 0, int mjorId = 0, int stageId = 0, int pageIndex = 1, int pageSize = 3) { var result = users_DAL.Query(startDate, endDate, userName, collegeId, mjorId, stageId, pageIndex, pageSize); return(result); }
/// <summary> /// 获取数据 /// </summary> /// <returns></returns> public List <Users> Query() { var result = iUsers_DAL.Query(); return(result); }