/// <summary> /// 查询代收结算单列表 /// </summary> /// <param name="queryFilter"></param> /// <param name="callback"></param> public void QueryGatherSettlements(GatherSettleQueryFilter queryFilter, EventHandler <RestClientEventArgs <dynamic> > callback) { queryFilter.CompanyCode = CPApplication.Current.CompanyCode; string relativeUrl = "/POService/GatherSettlement/QueryGatherSettlementList"; restClient.QueryDynamicData(relativeUrl, queryFilter, callback); }
public QueryResult QueryGatherSettlementList(GatherSettleQueryFilter request) { int totalCount = 0; QueryResult returnResult = new QueryResult() { Data = ObjectFactory <IGatherSettleQueryDA> .Instance.Query(request, out totalCount) }; returnResult.TotalCount = totalCount; return(returnResult); }
public override void OnPageLoad(object sender, EventArgs e) { serviceFacade = new GatherSettlementFacade(this); queryFilter = new GatherSettleQueryFilter() { PageInfo = new QueryFilter.Common.PagingInfo() }; this.DataContext = queryFilter; DataGridTextColumn colStatus = this.QueryResultGrid.Columns[5] as DataGridTextColumn; colStatus.Binding.ConverterParameter = typeof(SettleStatus); LoadComboBoxData(); SetAccessControl(); base.OnPageLoad(sender, e); }