iorderbusiness.java
来自「电子商务网站源码.还是一个不错的网站」· Java 代码 · 共 23 行
JAVA
23 行
package cn.com.tarena.business;
import java.util.List;
import java.util.Map;
import cn.com.tarena.bean.Order;
import cn.com.tarena.bean.Product;
import cn.com.tarena.bean.User;
import cn.com.tarena.util.BusinessException;
public interface IOrderBusiness {
//列出用户定单
List listOrdersOfUser(User user)throws BusinessException;
//删除定单
void removeOrder(Integer orderid)throws BusinessException;
//保存一个定单
void saveOrder(Order order)throws BusinessException;
//列出所有付款方式
Map listAllPayways()throws BusinessException;
//通过定单id获取一个定单
Order listOrderByorderid(Integer orderid)throws BusinessException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?