Exemplo n.º 1
0
        /// <summary>
        /// 查询订单状态扭转
        /// </summary>
        /// <param name="refer"></param>
        /// <returns></returns>
        public ExpressOrderStatusRefer QueryOrderStatusPageList(ExpressOrderStatusRefer refer)
        {
            var req      = refer.Search;
            var ret      = new ExpressOrderStatusRefer();
            var response = BSClient.Send <EC_QueryOrderStatusPageListResponse>(new EC_QueryOrderStatusPageList
            {
                PageIndex = refer.PageIndex,
                PageSize  = refer.PageSize,
                OrderCode = req.OrderCode
            });

            ret.List      = Mapper.MappGereric <EC_QueryOrderStatusPageListDto, OrderStatusModel>(response.Dtos);
            ret.PageIndex = response.PageIndex;
            ret.PageSize  = response.PageSize;
            ret.Total     = response.Total;
            return(ret);
        }
Exemplo n.º 2
0
        public ActionResult OrderStatusIndex(ExpressOrderStatusRefer refer)
        {
            var result = ExpressClient.Instance.QueryOrderStatusPageList(refer);

            return(View(result));
        }