package com.yeshi.fanli.dao.mybatis.jd;
|
|
import java.util.List;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import com.yeshi.fanli.dao.BaseMapper;
|
import com.yeshi.fanli.dto.ChartTDO;
|
import com.yeshi.fanli.entity.jd.JDOrderItem;
|
|
public interface JDOrderItemMapper extends BaseMapper<JDOrderItem> {
|
|
/**
|
* 根据交易ID查询
|
*
|
* @param tradeId
|
* @return
|
*/
|
JDOrderItem selectByTradeId(String tradeId);
|
|
/**
|
* 根据订单号查询
|
*
|
* @param orderId
|
* @return
|
*/
|
List<JDOrderItem> listByOrderId(Long orderId);
|
|
/**
|
* 统计所有订单
|
*
|
* @param channel
|
* @return
|
*/
|
Long countOrderByDay(@Param("preDay") String preDay);
|
|
/**
|
* 统计所有订单
|
*
|
* @param channel
|
* @return
|
*/
|
List<ChartTDO> countOrderNumber(@Param("dateType") Integer dateType, @Param("year") String year,
|
@Param("startTime") String startTime, @Param("endTime") String endTime);
|
|
|
}
|