| | |
| | | @Service
|
| | | public class HongBaoV2CountServiceImpl implements HongBaoV2CountService {
|
| | |
|
| | | |
| | | |
| | | @Resource
|
| | | private HongBaoV2CountMapper hongBaoV2CountMapper;
|
| | |
|
| | |
| | | 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) {
|
| | |
| | | money = BigDecimal.ZERO;
|
| | | return money;
|
| | | }
|
| | | |
| | |
|
| | | @Override
|
| | | public BigDecimal geBonusByuid(Long uid, Integer dateType, Integer hbType, Integer moneyState) {
|
| | |
| | | return money;
|
| | | }
|
| | |
|
| | | @Override
|
| | | public long countOrderByCashArrival(Long uid, BigDecimal payment, Integer type, Integer dateType) {
|
| | | Long count = hongBaoV2CountMapper.countOrderByCashArrival(uid, payment, type, dateType);
|
| | | if (count == null) {
|
| | | count = 0L;
|
| | | }
|
| | | return count;
|
| | | }
|
| | |
|
| | | @Override
|
| | | public long countOrderByCashNotArrival(Long uid, BigDecimal payment, Integer type, Integer dateType) {
|
| | | Long count = hongBaoV2CountMapper.countOrderByCashNotArrival(uid, payment, type, dateType);
|
| | | if (count == null) {
|
| | | count = 0L;
|
| | | }
|
| | | return count;
|
| | | }
|
| | |
|
| | | }
|