public BasicResponse <List <JC_LargedataAnalysisLogInfo> > GetJC_LargedataanalysislogList(LargedataAnalysisLogGetListRequest jC_Largedataanalysislogrequest)
 {
     return(_largedataAnalysisLogService.GetJC_LargedataanalysislogList(jC_Largedataanalysislogrequest));
 }
Example #2
0
        public BasicResponse <List <JC_LargedataAnalysisLogInfo> > GetJC_LargedataanalysislogList(LargedataAnalysisLogGetListRequest largedataanalysislogrequest)
        {
            var jC_Largedataanalysislogresponse = new BasicResponse <List <JC_LargedataAnalysisLogInfo> >();

            largedataanalysislogrequest.PagerInfo.PageIndex = largedataanalysislogrequest.PagerInfo.PageIndex - 1;
            if (largedataanalysislogrequest.PagerInfo.PageIndex < 0)
            {
                largedataanalysislogrequest.PagerInfo.PageIndex = 0;
            }
            int rowcount = 0;
            var jC_LargedataanalysislogModelLists = _Repository.GetJC_LargedataanalysislogList(largedataanalysislogrequest.PagerInfo.PageIndex, largedataanalysislogrequest.PagerInfo.PageSize, out rowcount);
            var jC_LargedataanalysislogInfoLists  = new List <JC_LargedataAnalysisLogInfo>();

            foreach (var item in jC_LargedataanalysislogModelLists)
            {
                var JC_LargedataAnalysisLogInfo = ObjectConverter.Copy <JC_LargedataanalysislogModel, JC_LargedataAnalysisLogInfo>(item);
                jC_LargedataanalysislogInfoLists.Add(JC_LargedataAnalysisLogInfo);
            }
            jC_Largedataanalysislogresponse.Data = jC_LargedataanalysislogInfoLists;
            return(jC_Largedataanalysislogresponse);
        }