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.
32 lines
548 B
32 lines
548 B
package com.demo.service;
|
|
|
|
import com.demo.pojo.Order;
|
|
import com.demo.pojo.OrderItem;
|
|
|
|
import java.util.List;
|
|
|
|
public interface OrderService extends CrudService<Order> {
|
|
|
|
/**
|
|
* 更新订单
|
|
* @param c
|
|
*/
|
|
public void update(Order c);
|
|
|
|
/**
|
|
* 生成完整订单
|
|
* @param o 订单
|
|
* @param ois 订单项
|
|
* @return
|
|
*/
|
|
public float add(Order o, List<OrderItem> ois);
|
|
|
|
/**
|
|
* 用户订单列表
|
|
* @param cstid 用户id
|
|
* @return
|
|
*/
|
|
public List<Order> list(int cstid);
|
|
|
|
}
|