| | |
| | | * @param payment
|
| | | * @return
|
| | | */
|
| | | public long countValidOrderTeamUserByUid(Long uid, Long time, BigDecimal payment);
|
| | | public long countValidOrderByUidAndTime(Long uid, Long time, BigDecimal payment);
|
| | |
|
| | | /**
|
| | | * 统计不同时间:奖励
|
| | |
| | | * @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);
|
| | |
|
| | | /**
|
| | | * 统计红包个数
|
| | |
| | | * @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); |
| | |
|
| | | }
|