/// <summary> /// 查询配送历史 /// </summary> /// <param name="query">过滤条件</param> /// <param name="callback">回调函数</param> public void SODeliveryHistoryQuery(SODeliveryHistorySearchVM queryVM, EventHandler <RestClientEventArgs <dynamic> > callback) { SODeliveryHistoryQueryFilter filter = queryVM == null ? null : EntityConverter <SODeliveryHistorySearchVM, SODeliveryHistoryQueryFilter> .Convert(queryVM); queryVM.CompanyCode = CPApplication.Current.CompanyCode; string relativeUrl = "/SOService/SO/QueryDeliveryHistory"; restClient.QueryDynamicData(relativeUrl, filter, callback); }
/// <summary> /// 查询配送历史导出Excel /// </summary> /// <param name="queryVM">过滤条件</param> /// <param name="columns">输入列</param> public void ExportSODeliveryHistory(SODeliveryHistorySearchVM queryVM, ColumnSet[] columns) { SODeliveryHistoryQueryFilter filter = queryVM == null ? null : EntityConverter <SODeliveryHistorySearchVM, SODeliveryHistoryQueryFilter> .Convert(queryVM); queryVM.CompanyCode = CPApplication.Current.CompanyCode; string relativeUrl = "/SOService/SO/QueryDeliveryHistory"; restClient.ExportFile(relativeUrl, filter, columns); }
public QueryResult GetDeliveryHistoryList(SODeliveryHistoryQueryFilter filter) { return(QueryList <SODeliveryHistoryQueryFilter>(filter, ObjectFactory <ISOQueryDA> .Instance.GetDeliveryHistoryList)); }