Exemplo n.º 1
0
        /// <summary>
        /// 获取问题反馈数据集合(包括搜索)
        /// </summary>
        /// <param name="pageIndex">页索引</param>
        /// <param name="pageSize">页大小</param>
        /// <param name="typeIds">问题类型Id,用,隔开</param>
        /// <param name="flag">时间标识,0全部,1一周内,2一个月内,3具体时间段</param>
        /// <param name="versionNum">版本号</param>
        /// <param name="phoneModel">手机型号</param>
        /// <param name="networkEnvir">网络环境</param>
        /// <param name="startTime">日期:开始时间</param>
        /// <param name="endTime">日期:结束时间</param>
        /// <param name="isDown">是否是下载数据:1为是,0为查询</param>
        /// <returns></returns>
        public PageResult GetFeedbackListByCondition(int pageIndex, int pageSize, string typeIds, int flag, string versionNum, string phoneModel, string networkEnvir, DateTime?startTime, DateTime?endTime, int isDown = 0)
        {
            var result = new PageResult();
            int count  = 0;
            var source = _feedbackDal.GetFeedbackListByCondition(pageIndex, pageSize, typeIds, flag, versionNum, phoneModel, networkEnvir, startTime, endTime, out count, isDown).ConvertTo <FeedbackBLLModel>();

            result.total        = count;
            result.FeedbackList = source;
            return(result);
        }