| | |
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.jd.JDOrder;
|
| | | import com.yeshi.fanli.entity.vipshop.VipShopOrder;
|
| | | import com.yeshi.fanli.entity.vipshop.VipShopOrderDetail;
|
| | | import com.yeshi.fanli.exception.jd.JDOrderException;
|
| | | import com.yeshi.fanli.exception.vipshop.VipShopOrderException;
|
| | |
|
| | | public interface VipShopOrderService {
|
| | |
| | | * 添加订单
|
| | | *
|
| | | * @param order
|
| | | * @throws JDOrderException
|
| | | * @throws VipShopOrderException
|
| | | */
|
| | | public void addVipShopOrder(JDOrder order) throws VipShopOrderException;
|
| | | public void addOrder(VipShopOrder order) throws VipShopOrderException;
|
| | |
|
| | | /**
|
| | | * 根据主键ID查询
|
| | |
| | | * @param orderId
|
| | | * @return
|
| | | */
|
| | | public JDOrder selectByPrimaryKey(Long orderId);
|
| | | public VipShopOrder selectByPrimaryKey(Long orderId);
|
| | |
|
| | | /**
|
| | | * 根据订单号查询
|
| | | * |
| | | * @param orderId
|
| | | * @return
|
| | | */
|
| | | public List<VipShopOrder> listByOrderSn(String orderSn);
|
| | | |
| | | /**
|
| | | * 根据订单号查询
|
| | | * @Title: listDetailByOrderSn
|
| | | * @Description: |
| | | * @param orderSn
|
| | | * @return |
| | | * List<VipShopOrder> 返回类型
|
| | | * @throws
|
| | | */
|
| | | public List<VipShopOrder> listDetailByOrderSn(String orderSn);
|
| | |
|
| | | /**
|
| | | * 根据主键查询(包含子订单)
|
| | | * @param orderId
|
| | | * @return
|
| | | */
|
| | | public JDOrder selectDetailByPrimaryKey(Long orderId);
|
| | | public VipShopOrder selectDetailByPrimaryKey(Long orderId);
|
| | |
|
| | | public Long countOrderByDay(String preDay);
|
| | |
|