package com.yeshi.fanli.service.inter.jd;
|
|
import com.yeshi.fanli.entity.jd.JDOrder;
|
import com.yeshi.fanli.exception.jd.JDOrderException;
|
|
public interface JDOrderService {
|
|
/**
|
* 添加订单
|
*
|
* @param order
|
* @throws JDOrderException
|
*/
|
public void addJDOrder(JDOrder order) throws JDOrderException;
|
|
/**
|
* 根据订单号查询
|
*
|
* @param orderId
|
* @return
|
*/
|
public JDOrder selectByOrderId(Long orderId);
|
|
/**
|
* 根据订单号查询(包含子订单)
|
* @param orderId
|
* @return
|
*/
|
public JDOrder selectDetailByOrderId(Long orderId);
|
|
}
|