예제 #1
0
        public List <OrdersModel> GetOrders()
        {
            OrdersDao          ordersDao = new OrdersDao();
            List <OrdersModel> orders    = ordersDao.GetOrders();

            return(orders);
        }
예제 #2
0
        public Response <List <MyOrder> > GetOrders(int memberId)
        {
            var res = new Response <List <MyOrder> >();

            try
            {
                res.Result = orderDao.GetOrders(memberId, "");
            }
            catch (Exception ex)
            {
                res.ErrMsg = "获取我的订单信息失败!" + ex.Message;
            }
            return(res);
        }
예제 #3
0
 public List <MyOrder> GetOrders(string orderNo, int memberId)
 {
     return(ordersDao.GetOrders(memberId, orderNo));
 }