| | |
| | |
|
| | | @Override
|
| | | public BigDecimal countFreeMoneyByTypeAndDay(CouponTypeEnum typeEnum, String preDay){
|
| | | return userSystemCouponCountMapper.countFreeMoneyByTypeAndDay(typeEnum.name(), preDay);
|
| | | return userSystemCouponCountMapper.countFreeMoneyByTypeAndDay(typeEnum.name(), preDay, null);
|
| | | }
|
| | | |
| | | @Override
|
| | | public BigDecimal countFreeMoneyByTypeAndDay(CouponTypeEnum typeEnum, String preDay, String source){
|
| | | return userSystemCouponCountMapper.countFreeMoneyByTypeAndDay(typeEnum.name(), preDay, source);
|
| | | }
|
| | |
|
| | |
|
| | | @Override
|
| | | public BigDecimal countCouponNumByDay(CouponTypeEnum typeEnum, String preDay){
|
| | | return userSystemCouponCountMapper.countCouponNumByDay(typeEnum.name(), preDay);
|
| | | return userSystemCouponCountMapper.countCouponNumByDay(typeEnum.name(), preDay, null);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public BigDecimal countCouponNumByDay(CouponTypeEnum typeEnum, String preDay, String source){
|
| | | return userSystemCouponCountMapper.countCouponNumByDay(typeEnum.name(), preDay, source);
|
| | | }
|
| | | |
| | | @Override
|
| | | public long countCouponNum(Long uid, Integer state, Integer activated, List<String> list, List<String> listSource){
|
| | | Long count = userSystemCouponCountMapper.countCouponNum(uid, state, activated, list, listSource);
|
| | | if (count == null) |
| | | count = 0L;
|
| | | return count;
|
| | | }
|
| | | |
| | | |
| | | }
|