示例#1
0
 @Transactional(propagation = Propagation.REQUIRED)
 public List<Order> findAllOrders() {
   return orderDao.findAllOrders();
 }
示例#2
0
 @Transactional(propagation = Propagation.REQUIRED)
 public Order getById(int id) {
   return orderDao.getById(id);
 }
示例#3
0
 @Transactional(propagation = Propagation.REQUIRED)
 public void deleteDish(Dish dish, Order targetOrder) {
   orderDao.deleteDish(dish, targetOrder);
 }
示例#4
0
 @Transactional(propagation = Propagation.REQUIRED)
 public void delete(Order order) {
   orderDao.delete(order);
 }
示例#5
0
 @Transactional(propagation = Propagation.REQUIRED)
 public void create(Order order) {
   orderDao.addOrder(order);
 }
示例#6
0
 @Transactional(propagation = Propagation.REQUIRED)
 public void closeOrder(Order order) {
   orderDao.closeOrder(order);
 }