| | |
| | | @Override
|
| | | public BigDecimal getRewardMoneyBySelf(Long uid) {
|
| | | List<Integer> list = new ArrayList<Integer>();
|
| | | list.add(HongBaoV2.STATE_YILINGQU);
|
| | | list.add(HongBaoV2.TYPE_ZIGOU);
|
| | | return hongBaoV2CountMapper.getRewardMoneyByUid(uid, list);
|
| | | }
|
| | | |
| | | @Override
|
| | | public BigDecimal getRewardMoneyByShare(Long uid) {
|
| | | List<Integer> list = new ArrayList<Integer>();
|
| | | list.add(HongBaoV2.TYPE_SHARE_GOODS);
|
| | | return hongBaoV2CountMapper.getRewardMoneyByUid(uid, list);
|
| | | }
|
| | | |
| | | |
| | | @Override
|
| | | public BigDecimal getRewardMoneyByInvite(Long uid) {
|
| | | List<Integer> list = new ArrayList<Integer>();
|
| | | list.add(HongBaoV2.TYPE_YIJI);
|
| | | list.add(HongBaoV2.TYPE_ERJI);
|
| | | list.add(HongBaoV2.TYPE_SHARE_YIJI);
|
| | | list.add(HongBaoV2.TYPE_SHARE_ERJI);
|
| | | return hongBaoV2CountMapper.getRewardMoneyByUid(uid, list);
|
| | | }
|
| | | |
| | | @Override
|
| | | public long countValidOrderTeamUserByUid(Long uid, String date, BigDecimal payment) {
|
| | | return hongBaoV2CountMapper.countValidOrderTeamUserByUid(uid, date, payment);
|
| | | }
|
| | | }
|