/// <summary>
        /// 微购物上取消的订单状态同步下来
        /// </summary>
        /// <param name="request"></param>
        private void SyncCancelledOrdersFromWgw(QueryOrderListRequest request)
        {
            var result = Client.Execute<dynamic>(request);

            if (result.errorCode == 0)
            {
                foreach (var order in result.dealList.dealListVo)
                {
                    var processor = OrderPrcossorFactory.CreateProcessor(request.RequestParams["dealState"]);
                    if (!processor.Process(order, null))
                    {
                        _failedCount += 1;
                        Logger.Error(processor.ErrorMessage);
                    }
                    else
                    {
                        _succeedCount += 1;
                    }
                }
                var maxPage = result.dealList.maxPageNo;
                var currentPage = result.dealList.currPage;
                while (currentPage < maxPage)
                {
                    request.Put("pageindex", currentPage += 1);
                    request.Remove("sign");
                    SyncCancelledOrdersFromWgw(request);
                }
            }
            Logger.Error(result.errorMessage);
            

        }
 private void SyncCreatedOrders(string sizeStr)
 {
     var dict = BuildQueryDict(sizeStr);
     var request = new QueryOrderListRequest(dict);
     request.Put("dealState", OrderStatusConst.STATE_WG_WAIT_PAY);
     request.Put("timeType", "CREATE");
     SyncOrdersFromWgw(request);
 }
 private void SyncPaidOrders(string pageSize)
 {
     var dict = BuildQueryDict(pageSize);
     var request = new QueryOrderListRequest(dict);
     request.Put("dealState", OrderStatusConst.STATE_WG_PAY_OK);
     request.Put("timeType", "PAY");
     SyncOrdersFromWgw(request);
 }
 /// <summary>
 /// 微购物上取消的订单状态同步
 /// </summary>
 /// <param name="pageSize"></param>
 private void SyncCancelledOrder(string pageSize)
 {
     var dict = BuildQueryDict(pageSize);
     var request = new QueryOrderListRequest(dict);
     request.Put("dealState", OrderStatusConst.STATE_WG_CANCLE);
     SyncCancelledOrdersFromWgw(request);
 }