admin
2019-03-13 69bee82b81626b82b7f39f0e459e4f56b1699b51
fanli/src/main/java/com/yeshi/fanli/service/inter/count/HongBaoV2CountService.java
@@ -1,6 +1,7 @@
package com.yeshi.fanli.service.inter.count;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;
@@ -61,8 +62,53 @@
    */
   public List<Map<String, Object>> getProportionByType(Integer dateType, Integer type, String year, String startTime,
         String endTime) throws Exception;
   /**
    * 统计提成订单数量
    * @param uid
    * @return
    */
   public int getTotalTiChengCount(Long uid);
   /**
    * 统计未失效订单数量
    * @param uid
    * @param dateType
    * @return
    */
   public long countValidNumberByUid(Long uid, Integer dateType);
   
   
   /**
    * 统计未到账金额
    * @param uid
    * @param dateType
    * @return
    */
   public BigDecimal countWillGetMoneyByUid(Long uid);
   /**
    * 最后一次下单时间
    * @param uid
    * @return
    */
   public Date getLastHongBaoTime(Long uid);
   public List<Map<String, Object>> count24HOderByChannel(String channel, Integer type, String years, String startTime,
         String endTime) throws Exception;
   /**
    * 统计所有类型订单数量
    * @param dateType
    * @param type
    * @param year
    * @param startTime
    * @param endTime
    * @return
    * @throws Exception
    */
   public List<Map<String, Object>> countHongBaoType(Integer dateType, Integer type, String year, String startTime,
         String endTime) throws Exception;
   
}