package com.yeshi.fanli.service.inter.order.dy;
|
|
import com.yeshi.fanli.entity.dy.DYOrder;
|
import com.yeshi.fanli.exception.dy.DYOrderException;
|
|
import java.util.List;
|
|
public interface DYOrderService {
|
|
/**
|
* 添加订单
|
*
|
* @param order
|
* @throws DYOrderException
|
*/
|
public void addOrder(DYOrder order) throws DYOrderException;
|
|
/**
|
* 根据主键ID查询
|
*
|
* @param id
|
* @return
|
*/
|
public DYOrder selectByPrimaryKey(String id);
|
|
/**
|
* 根据订单号查询
|
*
|
* @param orderId
|
* @return
|
*/
|
public List<DYOrder> listByOrderId(String orderId);
|
|
|
public Long countOrderByDay(String preDay);
|
|
|
}
|