public BasicResponse <List <JC_SetAnalysisModelPointRecordInfo> > GetJC_SetanalysismodelpointrecordList(SetAnalysisModelPointRecordGetListRequest jC_Setanalysismodelpointrecordrequest) { var responseStr = HttpClientHelper.Post(Webapi + "/v1/AnalysisModelPointRecord/GetJC_SetanalysismodelpointrecordList?token=" + Token, JSONHelper.ToJSONString(jC_Setanalysismodelpointrecordrequest)); return(JSONHelper.ParseJSONString <BasicResponse <List <JC_SetAnalysisModelPointRecordInfo> > >(responseStr)); }
public BasicResponse <List <JC_SetAnalysisModelPointRecordInfo> > GetJC_SetanalysismodelpointrecordList(SetAnalysisModelPointRecordGetListRequest jC_Setanalysismodelpointrecordrequest) { return(setAnalysisModelPointRecordService.GetJC_SetanalysismodelpointrecordList(jC_Setanalysismodelpointrecordrequest)); }
public BasicResponse <List <JC_SetAnalysisModelPointRecordInfo> > GetJC_SetanalysismodelpointrecordList(SetAnalysisModelPointRecordGetListRequest jC_Setanalysismodelpointrecordrequest) { var jC_Setanalysismodelpointrecordresponse = new BasicResponse <List <JC_SetAnalysisModelPointRecordInfo> >(); jC_Setanalysismodelpointrecordrequest.PagerInfo.PageIndex = jC_Setanalysismodelpointrecordrequest.PagerInfo.PageIndex - 1; if (jC_Setanalysismodelpointrecordrequest.PagerInfo.PageIndex < 0) { jC_Setanalysismodelpointrecordrequest.PagerInfo.PageIndex = 0; } int rowcount = 0; var jC_SetanalysismodelpointrecordModelLists = _Repository.GetJC_SetanalysismodelpointrecordList(jC_Setanalysismodelpointrecordrequest.PagerInfo.PageIndex, jC_Setanalysismodelpointrecordrequest.PagerInfo.PageSize, out rowcount); var jC_SetanalysismodelpointrecordInfoLists = new List <JC_SetAnalysisModelPointRecordInfo>(); foreach (var item in jC_SetanalysismodelpointrecordModelLists) { var JC_SetAnalysisModelPointRecordInfo = ObjectConverter.Copy <JC_SetanalysismodelpointrecordModel, JC_SetAnalysisModelPointRecordInfo>(item); jC_SetanalysismodelpointrecordInfoLists.Add(JC_SetAnalysisModelPointRecordInfo); } jC_Setanalysismodelpointrecordresponse.Data = jC_SetanalysismodelpointrecordInfoLists; return(jC_Setanalysismodelpointrecordresponse); }