package com.fs.course.service.impl;

import com.fs.course.dto.CourseRedPacketStatisticsDTO;
import com.fs.course.mapper.FsCourseRedPacketLogMapper;
import com.fs.course.param.CourseRedPacketStatisticsParam;
import com.fs.course.service.CourseRedPacketStatisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description: 看客红包统计
 * @author: Xgb
 * @createDate: 2025/10/14
 * @version: 1.0
 */
@Service
public class CourseRedPacketStatisticsServiceImpl implements CourseRedPacketStatisticsService {

    @Autowired
    private FsCourseRedPacketLogMapper fsCourseRedPacketLogMapper;

    @Override
    public List<CourseRedPacketStatisticsDTO> statistics(CourseRedPacketStatisticsParam param) {
        return fsCourseRedPacketLogMapper.statistics(param);
    }
}
