| | |
| | |
|
| | | @Override
|
| | | public long countMyDirectOrderByCashArrival(Long uid, BigDecimal payment) {
|
| | | Long count = hongBaoV2CountMapper.countMyDirectOrderByCashArrival(uid, payment);
|
| | | Long count = hongBaoV2CountMapper.countMyDirectOrderByCashArrival(uid, payment, null);
|
| | | if (count == null) {
|
| | | count = 0L;
|
| | | }
|
| | |
| | |
|
| | |
|
| | | @Override
|
| | | public long countMyDirectOrderByCashArrival(Long uid, BigDecimal payment, Integer type) {
|
| | | Long count = hongBaoV2CountMapper.countMyDirectOrderByCashArrival(uid, payment, type);
|
| | | if (count == null) {
|
| | | count = 0L;
|
| | | }
|
| | | return count;
|
| | | }
|
| | | |
| | | @Override
|
| | | public long countMyDirectOrderByCashNotArrival(Long uid, BigDecimal payment, Integer type) {
|
| | | Long count = hongBaoV2CountMapper.countMyDirectOrderByCashNotArrival(uid, payment, type);
|
| | | if (count == null) {
|
| | | count = 0L;
|
| | | }
|
| | | return count;
|
| | | }
|
| | | |
| | | @Override
|
| | | public BigDecimal getRewardMoneyToCount(Long uid, Integer dateType, Integer hbType, List<Integer> listSource) {
|
| | | return hongBaoV2CountMapper.getRewardMoneyByDate(uid, dateType, hbType, null, null, null, null, null, listSource);
|
| | | BigDecimal money = hongBaoV2CountMapper.getRewardMoneyByDate(uid, dateType, hbType, null, null, null, null, null, listSource,false);
|
| | | if (money == null)
|
| | | money = BigDecimal.ZERO;
|
| | | return money;
|
| | | }
|
| | |
|
| | | @Override
|
| | | public BigDecimal geBonusByuid(Long uid, Integer dateType, Integer hbType, Integer moneyState) {
|
| | | BigDecimal money = hongBaoV2CountMapper.getRewardMoneyByDate(uid, dateType, hbType, null, null, moneyState, null, null, null);
|
| | | BigDecimal money = hongBaoV2CountMapper.getRewardMoneyByDate(uid, dateType, hbType, null, null, moneyState, null, null, null,false);
|
| | | if (money == null) {
|
| | | money = new BigDecimal(0);
|
| | | }
|
| | |
| | |
|
| | | @Override
|
| | | public BigDecimal getRewardMoneyByToSearch(Long uid, Integer dateType, Integer orderType, Integer orderState,
|
| | | String orderNo, Integer moneyState, String startTime, String endTime, List<Integer> listSource) {
|
| | | String orderNo, Integer moneyState, String startTime, String endTime, List<Integer> listSource, boolean notBackSuVip) {
|
| | | return hongBaoV2CountMapper.getRewardMoneyByDate(uid, dateType, orderType, orderState, orderNo, moneyState,
|
| | | startTime, endTime, listSource);
|
| | | startTime, endTime, listSource, notBackSuVip);
|
| | | }
|
| | |
|
| | |
|