Ejemplo n.º 1
0
        /// <summary>
        /// 获得数据列表
        /// </summary>
        /// <param name="top">前几行</param>
        /// <param name="columnName">需要获取的列名<para>为了方便不在处理,列与列用逗号分开,参照SQL写法</para></param>
        /// <param name="dapperWheres">查询条件列表</param>
        /// <param name="filedOrder">排序</param>
        public static List <T> GetList <T>(int top, string columnName, List <DapperWhere> dapperWheres, string filedOrder)
        {
            Sms_ConsumeBaseDAL dal = new Sms_ConsumeBaseDAL();

            return(dal.GetList <T>(top, columnName, dapperWheres, filedOrder));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 获得数据列表
        /// </summary>
        /// <param name="dapperWheres">查询条件列表</param>
        public static List <Sms_Consume> GetList(List <DapperWhere> dapperWheres)
        {
            Sms_ConsumeBaseDAL dal = new Sms_ConsumeBaseDAL();

            return(dal.GetList(dapperWheres));
        }
Ejemplo n.º 3
0
        /// <summary>
        /// 获得数据列表
        /// </summary>
        /// <param name="top">前几行</param>
        /// <param name="dapperWheres">查询条件列表</param>
        /// <param name="filedOrder">排序</param>
        public static List <Sms_Consume> GetList(int top, List <DapperWhere> dapperWheres, string filedOrder)
        {
            Sms_ConsumeBaseDAL dal = new Sms_ConsumeBaseDAL();

            return(dal.GetList(top, dapperWheres, filedOrder));
        }
Ejemplo n.º 4
0
        /// <summary>
        /// 分页得到列表
        /// </summary>
        /// <param name="pageIndex">显示页号</param>
        /// <param name="pageSize">每页显示数</param>
        /// <param name="dapperWheres">条件列表</param>
        /// <param name="filedOrder">排序</param>
        /// <returns>返回列表</returns>
        public static List <Sms_Consume> GetList(int pageIndex, int pageSize, List <DapperWhere> dapperWheres, string filedOrder)
        {
            Sms_ConsumeBaseDAL dal = new Sms_ConsumeBaseDAL();

            return(dal.GetList(pageIndex, pageSize, dapperWheres, filedOrder));
        }