public QueryResult QuerySettleAccountWithOrigin(SettleOrderCreateQueryFilter filter) { QueryResult rsp = new QueryResult(); int totalCount = 0; rsp.Data = ObjectFactory <IConsignSettleQueryDA> .Instance.QuerySettleAccountWithOrigin(filter, out totalCount); rsp.TotalCount = totalCount; return(rsp); }
/// <summary> /// 经销商品结算单 /// </summary> /// <param name="queryFilter"></param> /// <param name="callback"></param> public void QuerySettleAccountWithOrigin(SettleOrderCreateQueryVM queryVM, List <int> OrderSysNoList, int PageSize, int PageIndex, string SortField, EventHandler <RestClientEventArgs <dynamic> > callback) { SettleOrderCreateQueryFilter queryFilter = queryVM.ConvertVM <SettleOrderCreateQueryVM, SettleOrderCreateQueryFilter>(); queryFilter.OrderSysNoList = OrderSysNoList; queryFilter.PageInfo = new QueryFilter.Common.PagingInfo() { PageIndex = PageIndex, PageSize = PageSize, SortBy = SortField }; queryFilter.CompanyCode = CPApplication.Current.CompanyCode; string relativeUrl = "POService/ConsignSettlement/QuerySettleAccountWithOrigin"; restClient.QueryDynamicData(relativeUrl, queryFilter, callback); }