using System;
using System.Collections.Generic;
using System.Text;
using AutoTurnOver.Models;
using AutoTurnOver.DB;

namespace AutoTurnOver.Services
{
    public class AutoOrderServices
    {
        /// <summary>
        /// 获取下单列表分页记录
        /// </summary>
        /// <param name="m">条件Model</param>
        /// <param name="offset">偏移量</param>
        /// <param name="limit">每页记录数</param>
        /// <param name="total">符合条件的总记录数</param>
        /// <returns></returns>
        public List<dc_auto_order> List(Condition_AutoOrder m, int offset, int limit, ref int total)
        {
            return DB.AutoOrder.List(m, offset, limit, ref total);
        }
    }
}
