Пример #1
0
        public string Query(string OrderID)
        {
            OrderProgress progress = OrderProgress.NONE;
            Order         order    = QueryOrderDao.QueryOrder(OrderID);

            if (order == null)
            {
                return(EnumUtils.stringValueOf(progress));
            }
            ProcessStatusProgressImpl(order.OrderStatus, order.Shipper);
            progress = implementor.GetCurrentOrderProgress(OrderID);
            return(EnumUtils.stringValueOf(progress));
        }
Пример #2
0
 public string GetShippingID(string oid)
 {
     return(QueryOrderDao.QueryOrder(oid).ShippingID);
 }
Пример #3
0
        public OrderProgress GetCurrentOrderProgress(string oid)
        {
            int value = QueryOrderDao.RealOrderStatus(oid);

            return((OrderProgress)value);
        }