| | |
| | | package com.yeshi.fanli.service.inter.order.vipshop;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.vipshop.VipShopOrder;
|
| | | import com.yeshi.fanli.entity.vipshop.VipShopOrderDetail;
|
| | | import com.yeshi.fanli.exception.vipshop.VipShopOrderException;
|
| | |
|
| | | public interface VipShopOrderService {
|
| | |
|
| | | /**
|
| | | * 添加订单
|
| | | * |
| | | * @param order
|
| | | * @throws VipShopOrderException
|
| | | */
|
| | | public void addOrder(VipShopOrder order) throws VipShopOrderException;
|
| | |
|
| | | /**
|
| | | * 根据主键ID查询
|
| | | * |
| | | * @param orderId
|
| | | * @return
|
| | | */
|
| | | 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 VipShopOrder selectDetailByPrimaryKey(Long orderId);
|
| | |
|
| | | public Long countOrderByDay(String preDay);
|
| | |
|
| | | /**
|
| | | * 查询订单
|
| | | * @param start
|
| | | * @param count
|
| | | * @param key
|
| | | * @return
|
| | | */
|
| | | public List<VipShopOrderDetail> listDetailQuery(long start, int count, String key);
|
| | |
|
| | | public long countDetailQuery(String key);
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.order.vipshop; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.vipshop.VipShopOrder; |
| | | import com.yeshi.fanli.entity.vipshop.VipShopOrderDetail; |
| | | import com.yeshi.fanli.exception.vipshop.VipShopOrderException; |
| | | |
| | | public interface VipShopOrderService { |
| | | |
| | | /** |
| | | * 添加订单 |
| | | * |
| | | * @param order |
| | | * @throws VipShopOrderException |
| | | */ |
| | | public void addOrder(VipShopOrder order) throws VipShopOrderException; |
| | | |
| | | /** |
| | | * 根据主键ID查询 |
| | | * |
| | | * @param orderId |
| | | * @return |
| | | */ |
| | | public VipShopOrder selectByPrimaryKey(Long orderId); |
| | | |
| | | /** |
| | | * 根据订单号查询 |
| | | * |
| | | * @param orderSn |
| | | * @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 VipShopOrder selectDetailByPrimaryKey(Long orderId); |
| | | |
| | | public Long countOrderByDay(String preDay); |
| | | |
| | | /** |
| | | * 查询订单 |
| | | * @param start |
| | | * @param count |
| | | * @param key |
| | | * @return |
| | | */ |
| | | public List<VipShopOrderDetail> listDetailQuery(long start, int count, String key); |
| | | |
| | | public long countDetailQuery(String key); |
| | | |
| | | } |