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

namespace AutoTurnOver.Services
{
    public class DeviationServices
    {
        /// <summary>
        /// 获取sku视图
        /// </summary>
        /// <param name="search_data"></param>
        /// <param name="offset"></param>
        /// <param name="limit"></param>
        /// <param name="total"></param>
        /// <param name="order"></param>
        /// <param name="sort"></param>
        /// <returns></returns>
        public IEnumerable<deviation_view_dto> GetSkuViews(deviation_search_dto search_data, int offset, int limit, ref int total, string order = "", string sort = "")
        {
            var datas = dc_ana_deviation_dao.GetSkuViews(search_data, offset, limit, ref total, order, sort);
            return datas;

        }
        public List<string> GetProjects()
        {
            return dc_ana_deviation_dao.GetProjects();
        }
    }
}
