コード例 #1
0
        /// <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);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
ファイル: GatherQuery.xaml.cs プロジェクト: sanlonezhang/ql
        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);
        }