| | |
| | | */
|
| | | public BigDecimal getRewardMoneyByInvite(Long uid);
|
| | |
|
| | | /**
|
| | | * 有效一级队员定义:2019年1月1日起(date),自购或分享1笔且付款总金额不小于 payment 元(退款为失效
|
| | | * @param uid
|
| | | * @param date
|
| | | * @param payment
|
| | | * @return
|
| | | */
|
| | | public long countValidOrderByUidAndTime(Long uid, Long time, BigDecimal payment);
|
| | |
|
| | | /**
|
| | | * 统计不同时间:奖励
|
| | |
| | | * @param type 订单类型
|
| | | * @return
|
| | | */
|
| | | public long counOrderByUidAndOrderType(Long uid, BigDecimal payment, int type);
|
| | | public long countMyDirectOrderByCashArrival(Long uid, BigDecimal payment);
|
| | |
|
| | |
|
| | | public BigDecimal geBonusByuid(Long uid, Integer dateType, Integer hbType, Integer moneyState);
|
| | |
|
| | | /**
|
| | | * 统计已结算
|
| | | * 统计近日到账收入金额
|
| | | * @param uid
|
| | | * @param time
|
| | | * @param payment
|
| | | * @param day
|
| | | * @return
|
| | | */
|
| | | public long countOrderByUidAndSettled(Long uid, Long time, BigDecimal payment);
|
| | | public BigDecimal sumMoneyArrivalByUidAndNearDay(Long uid, int day);
|
| | |
|
| | | public BigDecimal geBonusByuid(Long uid, Integer dateType, Integer hbType, Integer moneyState); |
| | | /**
|
| | | * 统计收货金额
|
| | | * @param uid
|
| | | * @param minDate
|
| | | * @param maxDate
|
| | | * @return
|
| | | */
|
| | | public BigDecimal sumMoneyBySettleTimeAndUid(Long uid, Date minDate, Date maxDate);
|
| | |
|
| | | |
| | | /**
|
| | | * 180天内未收货的金额
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public BigDecimal sumMoneyByANotSettleAndUid(Long uid); |
| | |
|
| | | }
|