package com.ruoyi.bst.bonus.service.impl;

import com.ruoyi.bst.bonus.domain.BonusQuery;
import com.ruoyi.bst.bonus.domain.vo.BonusDailyStatVO;
import com.ruoyi.bst.bonus.domain.vo.BonusStatVO;
import com.ruoyi.bst.bonus.mapper.BonusMapper;
import com.ruoyi.bst.bonus.service.BonusDashboard;
import com.ruoyi.common.utils.MathUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BonusDashboardImpl implements BonusDashboard {

    @Autowired
    private BonusMapper bonusMapper;

    @Override
    public List<BonusDailyStatVO> selectDailyStat(BonusQuery query, List<String> keys) {
        return bonusMapper.selectDailyStat(query, keys);
    }

}
