using Mall.Model.Entity.TradePavilion;
using Mall.Model.Extend.TradePavilion;
using Mall.Repository.TradePavilion;
using System;
using System.Collections.Generic;
using System.Text;

namespace Mall.Module.TradePavilion
{
    public class WechatStatisticsModule
    {
        private readonly RB_Wechat_StatisticsRepository wechat_StatisticsRepository = new RB_Wechat_StatisticsRepository();

        private readonly RB_Visit_LogRepository visit_LogRepository = new RB_Visit_LogRepository();

        /// <summary>
        /// 获取访问记录信息
        /// </summary>
        /// <param name="query"></param>
        /// <param name="startTime"></param>
        /// <param name="endTime"></param>
        /// <returns></returns>
        public List<RB_Visit_Log> GetVisit_LogList(RB_Visit_Log query, string startTime = "", string endTime = "")
        {
            return visit_LogRepository.GetList(query, startTime, endTime);
        }
        /// <summary>
        /// 获取列表
        /// </summary>
        /// <param name="dmodel"></param>
        /// <returns></returns>
        public List<RB_Wechat_Statistics_Extend> GetList(RB_Wechat_Statistics_Extend dmodel)
        {
            return wechat_StatisticsRepository.GetList(dmodel);
        }

       
        }
}
