| | |
| | | package com.yeshi.fanli.service.inter.order.pdd;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.pdd.PDDOrder;
|
| | | import com.yeshi.fanli.exception.pdd.PDDOrderException;
|
| | |
|
| | | public interface PDDOrderService {
|
| | |
|
| | | /**
|
| | | * 添加拼多多订单
|
| | | * |
| | | * @param order
|
| | | * @return
|
| | | * @throws PDDOrderException
|
| | | */
|
| | | public PDDOrder addOrder(PDDOrder order) throws PDDOrderException;
|
| | |
|
| | | /**
|
| | | * 根据订单号查询
|
| | | * |
| | | * @param orderSn
|
| | | * @return
|
| | | */
|
| | | public List<PDDOrder> selectByOrderSn(String orderSn);
|
| | |
|
| | |
|
| | | /**
|
| | | * 根据订单查询
|
| | | * @param orderSnList
|
| | | * @return
|
| | | */
|
| | | public List<PDDOrder> listByOrderSns(List<String> orderSnList);
|
| | |
|
| | | /**
|
| | | * 根据状态查询
|
| | | * @param status
|
| | | * @param page
|
| | | * @param pageSize
|
| | | * @return
|
| | | */
|
| | | public List<PDDOrder> listByStatus(Integer status, int page, int pageSize);
|
| | |
|
| | | |
| | | public Long countOrderByDay(String preDay);
|
| | |
|
| | | |
| | | public List<PDDOrder> listQuery(long start, int count, String key);
|
| | |
|
| | | public long countQuery(String key);
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.order.pdd; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.pdd.PDDOrder; |
| | | import com.yeshi.fanli.exception.pdd.PDDOrderException; |
| | | |
| | | public interface PDDOrderService { |
| | | |
| | | /** |
| | | * 添加拼多多订单 |
| | | * |
| | | * @param order |
| | | * @return |
| | | * @throws PDDOrderException |
| | | */ |
| | | public PDDOrder addOrder(PDDOrder order) throws PDDOrderException; |
| | | |
| | | /** |
| | | * 根据订单号查询 |
| | | * |
| | | * @param orderSn |
| | | * @return |
| | | */ |
| | | public List<PDDOrder> selectByOrderSn(String orderSn); |
| | | |
| | | |
| | | /** |
| | | * 根据订单查询 |
| | | * @param orderSnList |
| | | * @return |
| | | */ |
| | | public List<PDDOrder> listByOrderSns(List<String> orderSnList); |
| | | |
| | | /** |
| | | * 根据状态查询 |
| | | * @param status |
| | | * @param page |
| | | * @param pageSize |
| | | * @return |
| | | */ |
| | | public List<PDDOrder> listByStatus(Integer status, int page, int pageSize); |
| | | |
| | | |
| | | public Long countOrderByDay(String preDay); |
| | | |
| | | |
| | | public List<PDDOrder> listQuery(long start, int count, String key); |
| | | |
| | | public long countQuery(String key); |
| | | |
| | | } |