You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
484 B
21 lines
484 B
package flowershop.dao;
|
|
|
|
import java.util.List;
|
|
|
|
import flowershop.model.OrderDetail;
|
|
|
|
public interface OrderDetailDao {
|
|
|
|
//查询所有订单详细数据
|
|
List<OrderDetail> findAll();
|
|
//根据主键查询
|
|
OrderDetail findByPk(int orderid, String productid);
|
|
//创建订单详细信息
|
|
int create(OrderDetail orderDetail);
|
|
//修改订单详细信息
|
|
int modify(OrderDetail orderDetail);
|
|
//删除订单详细信息
|
|
int remove(OrderDetail orderDetail);
|
|
|
|
}
|