yujian
2019-11-04 148af6b2f57be264c84d0991237fbd7ddea491a4
fanli/src/main/java/com/yeshi/fanli/service/inter/count/HongBaoV2CountService.java
@@ -3,8 +3,8 @@
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;
import com.yeshi.fanli.dto.ChartTDO;
import com.yeshi.fanli.vo.order.HongBaoV2VO;
public interface HongBaoV2CountService {
@@ -29,6 +29,7 @@
   /**
    * 统计用户红包数量
    *
    * @param uid
    * @return
    */
@@ -51,7 +52,7 @@
    *            结束时间
    * @return
    */
   public List<Map<String, Object>> countHongBaoMoney(String channel, Integer dateType, Integer state, String year,
   public List<ChartTDO> countHongBaoMoney(String channel, Integer dateType, Integer state, String year,
         String startTime, String endTime) throws Exception;
   /**
@@ -71,7 +72,7 @@
    *            结束时间
    * @return
    */
   public List<Map<String, Object>> countHongBaoNum(String channel, Integer dateType, Integer state, String year,
   public List<ChartTDO> countHongBaoNum(String channel, Integer dateType, Integer state, String year,
         String startTime, String endTime) throws Exception;
   /**
@@ -85,7 +86,7 @@
    * @return
    * @throws Exception
    */
   public List<Map<String, Object>> getProportionByType(Integer dateType, Integer type, String year, String startTime,
   public List<ChartTDO> getProportionByType(Integer dateType, Integer type, String year, String startTime,
         String endTime) throws Exception;
   /**
@@ -122,7 +123,7 @@
    */
   public Date getLastHongBaoTime(Long uid);
   public List<Map<String, Object>> count24HOderByChannel(String channel, Integer type, String years, String startTime,
   public List<ChartTDO> count24HOderByChannel(String channel, Integer type, String years, String startTime,
         String endTime) throws Exception;
   /**
@@ -136,7 +137,7 @@
    * @return
    * @throws Exception
    */
   public List<Map<String, Object>> countHongBaoType(Integer dateType, Integer type, String year, String startTime,
   public List<ChartTDO> countHongBaoType(Integer dateType, Integer type, String year, String startTime,
         String endTime) throws Exception;
   /**
@@ -151,6 +152,7 @@
   /**
    * 奖励券金额
    *
    * @return
    */
   public BigDecimal countRebateCouponMoney();
@@ -168,5 +170,18 @@
    * @return
    */
   public long countShareOrInviteOrder(Long uid);
   /**
    * 统计已到账
    *
    * @param uid
    * @param typeList
    * @param minGetTime
    * @param maxGetTime
    * @return
    */
   public BigDecimal sumAlreadyGetMoneyByUid(Long uid, List<Integer> typeList, Date minGetTime, Date maxGetTime);
   public long countAlreadyGetMoneyByUid(Long uid, List<Integer> typeList, Date minGetTime, Date maxGetTime);
}