public List <OrdersModel> GetOrders() { OrdersDao ordersDao = new OrdersDao(); List <OrdersModel> orders = ordersDao.GetOrders(); return(orders); }
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); }
public List <MyOrder> GetOrders(string orderNo, int memberId) { return(ordersDao.GetOrders(memberId, orderNo)); }