package com.yeshi.fanli.service.inter.order;
|
|
import java.math.BigDecimal;
|
import java.util.List;
|
import java.util.Map;
|
|
import com.yeshi.fanli.dto.ChartTDO;
|
|
|
public interface CommonOrderCountService {
|
|
/**
|
* 当前各个状态订单数
|
* @param state 状态
|
* @return
|
*/
|
public Long countByState(Integer state);
|
|
/**
|
* 统计所有订单
|
* @param channel
|
* @return
|
*/
|
public List<ChartTDO> getTrackAccuracyRate(Integer dateType, String year, String startTime,
|
String endTime,int sourceType) throws Exception;
|
|
/**
|
* 统计总金额
|
* @param dateType
|
* @param year
|
* @param startTime
|
* @param endTime
|
* @return
|
* @throws Exception
|
*/
|
public List<ChartTDO> countWeiQaunOrderMoney(Integer dateType, String year, String startTime,
|
String endTime) throws Exception;
|
|
/**
|
* 统计总个数
|
* @param dateType
|
* @param year
|
* @param startTime
|
* @param endTime
|
* @return
|
* @throws Exception
|
*/
|
public List<ChartTDO> countWeiQaunOrderNumber(Integer dateType, String year, String startTime, String endTime)
|
throws Exception;
|
|
/**
|
* 根据结算时间统计
|
* @param uid
|
* @param state
|
* @param day
|
* @return
|
* @throws Exception
|
*/
|
public Map<String, Object> countOrderNumberBySettleTime(Long uid, Integer state, Integer day);
|
|
/**
|
* 根据结算时间筛选 上个月已结算的订订单数量
|
* @param uid
|
* @return
|
*/
|
public Map<String, Object> lastMonthSettleOrderNumber(Long uid);
|
|
/**
|
* 根据订单号 统计奖励券加成金额
|
* @param orderNo
|
* @return
|
*/
|
BigDecimal getMoneyByOrderNo(String orderNo);
|
|
|
/**
|
* 统计已到账返利订单
|
* @param uid
|
* @param dateTime
|
* @return
|
*/
|
public long countValidOrderByDate(Long uid, String dateTime);
|
|
}
|