| | |
| | | import org.springframework.stereotype.Service;
|
| | |
|
| | | import com.yeshi.fanli.dao.mybatis.user.UserSystemCouponCountMapper;
|
| | | import com.yeshi.fanli.dto.ChartTDO;
|
| | | import com.yeshi.fanli.entity.bus.user.UserInfo;
|
| | | import com.yeshi.fanli.entity.bus.user.UserSystemCoupon;
|
| | | import com.yeshi.fanli.entity.bus.user.UserSystemCouponRecord;
|
| | |
| | |
|
| | |
|
| | | @Override
|
| | | public List<ChartTDO> getRebateCouponUsedNumToCharts(Integer dateType, String year, |
| | | String startTime, String endTime){
|
| | | return userSystemCouponCountMapper.getRebateCouponUsedNumToCharts(dateType, year, startTime, endTime);
|
| | | public BigDecimal countRebateMoneyByDay(String preDay){
|
| | | return userSystemCouponCountMapper.countRebateMoneyByDay(preDay);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public List<ChartTDO> getRebateCouponMoneyToCharts(Integer dateType, String year, |
| | | String startTime, String endTime){
|
| | | return userSystemCouponCountMapper.getRebateCouponMoneyToCharts(dateType, year, startTime, endTime);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public List<ChartTDO> getFreeCouponMoneyToCharts(Integer dateType, String year, String startTime, |
| | | String endTime, String couponType){
|
| | | return userSystemCouponCountMapper.getFreeCouponMoneyToCharts(dateType, year, startTime, endTime, couponType);
|
| | | public BigDecimal countFreeMoneyByTypeAndDay(CouponTypeEnum typeEnum, String preDay){
|
| | | return userSystemCouponCountMapper.countFreeMoneyByTypeAndDay(typeEnum.name(), preDay);
|
| | | }
|
| | | |
| | | |
| | | @Override
|
| | | public BigDecimal countCouponNumByDay(CouponTypeEnum typeEnum, String preDay){
|
| | | return userSystemCouponCountMapper.countCouponNumByDay(typeEnum.name(), preDay);
|
| | | }
|
| | |
|
| | | }
|