package com.yeshi.fanli.service.inter.taobao;
|
|
import java.util.List;
|
|
import com.yeshi.fanli.entity.admin.ReslutOrder;
|
import com.yeshi.fanli.entity.taobao.TaoBaoOrder;
|
import com.yeshi.fanli.vo.order.TaoBaoOrderVO;
|
|
/**
|
* 淘宝订单服务
|
*
|
* @author Administrator
|
*
|
*/
|
|
public interface TaoBaoOrderService {
|
|
/**
|
* 添加订单数据
|
*
|
* @param list
|
*/
|
public void addTaoBaoOrderList(List<TaoBaoOrder> list);
|
|
/**
|
*
|
* @param orderId
|
* 订单号
|
* @param list
|
* 订单号下面的订单
|
*/
|
public void addTaoBaoOrder(String orderId, List<TaoBaoOrder> list);
|
|
/**
|
* 根据订单号获取订单列表
|
*
|
* @param orderId
|
* @return
|
*/
|
public List<TaoBaoOrder> getTaoBaoOrderByOrderId(String orderId);
|
|
|
|
/**
|
* 查询订单--关联红包
|
* @param start
|
* @param count
|
* @param key
|
* @param startTime
|
* @param endTime
|
* @param type
|
* @param days
|
* @return
|
*/
|
public List<ReslutOrder> queryJoinHongBao(int start, int count, String key, String startTime, String endTime, Integer type, Integer days) throws Exception;
|
|
public int countQueryJoinHongBao(String key, String startTime, String endTime, Integer type, Integer days) throws Exception;
|
|
|
/**
|
* 统计当日预估收益
|
* @param date 2018-09-01
|
* @return
|
*/
|
public double countEstimate(String date) throws Exception;
|
|
|
/**
|
* 根据订单号、金额查询订单状态
|
* @param orderId
|
* @param payment
|
* @return
|
* @throws Exception
|
*/
|
public List<TaoBaoOrder> getStateByOrderIdAndPayment(String orderId, String payment) throws Exception;
|
|
|
/**
|
* 后端查询商品列表
|
* @param start
|
* @param count
|
* @param keyType
|
* @param key
|
* @param startTime
|
* @param endTime
|
* @param state
|
* @return
|
* @throws Exception
|
*/
|
public List<TaoBaoOrderVO> listQuery(int start, int count, String key, String startTime, String endTime,
|
Integer state) throws Exception;
|
|
public long countQuery(String key, String startTime, String endTime, Integer state) throws Exception;
|
|
}
|