admin
2020-04-15 ee5c8055b1c0dd7c67a9025a76b10bd287c93d9a
fanli/src/main/java/com/yeshi/fanli/service/inter/count/HongBaoV2CountService.java
@@ -229,7 +229,7 @@
    * @param payment
    * @return
    */
   public long countValidOrderTeamUserByUid(Long uid, String date, BigDecimal payment);
   public long countValidOrderByUidAndTime(Long uid, Long time, BigDecimal payment);
   /**
    * 统计不同时间:奖励
@@ -238,7 +238,7 @@
    * @param hbType
    * @return
    */
   public BigDecimal getRewardMoneyByDate(Long uid, Integer dateType, Integer hbType, Integer orderState);
   public BigDecimal getRewardMoneyToCount(Long uid, Integer dateType, Integer hbType, List<Integer> listSource);
   /**
    * 统计红包个数
@@ -246,6 +246,45 @@
    * @param type 红包类型
    * @return
    */
   public long getHongBaoCount(Long uid, Integer type);
   public long getHongBaoCount(Long uid, Integer type);
   /**
    * 筛选结果页顶部统计
    * @param uid
    * @param dateType
    * @param hbType
    * @param orderState
    * @param orderNo
    * @param source
    * @param startTime
    * @param endTime
    * @return
    */
   public BigDecimal getRewardMoneyByToSearch(Long uid, Integer dateType, Integer hbType, Integer orderState, String orderNo,
          Integer moneyState, String startTime, String endTime, List<Integer> listSource);
   public Long countOrderByTypeAndDate(Integer orderType, String preDay);
   /**
    * 统计订单数量
    * @param uid
    * @param time 下单开始时间
    * @param payment 付款金额
    * @param type 订单类型
    * @return
    */
   public long counOrderByUidAndOrderType(Long uid, BigDecimal payment, int type);
   /**
    * 统计已结算
    * @param uid
    * @param time
    * @param payment
    * @return
    */
   public long countOrderByUidAndSettled(Long uid, Long time, BigDecimal payment);
   public BigDecimal geBonusByuid(Long uid, Integer dateType, Integer hbType, Integer moneyState);
}