www.pudn.com > restrant.zip > CheckOutService.java, change:2013-12-25,size:347b


package com.alex.restrantol.service; 
 
import com.alex.restrantol.dao.CheckoutDao; 
import com.alex.restrantol.entity.OrderEntity; 
 
public class CheckOutService { 
 
	public boolean addOrder(OrderEntity order) { 
		boolean flag = false; 
		CheckoutDao checkout = new CheckoutDao(); 
		flag = checkout.addOrder(order); 
		return flag; 
	} 
 
}