package com.kxs.system.biz.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kxs.system.api.dto.admin.camp.CampPageLogDTO;
import com.kxs.system.api.model.KxsCampBonusLog;
import com.kxs.system.api.vo.admin.camp.CampBonusLogVO;
import com.kxs.system.biz.mapper.KxsCampBonusLogMapper;
import com.kxs.system.biz.service.KxsCampBonusLogService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 训练营奖金池日志表(KxsCampBonusLog)表服务实现类
 *
 * @author 系统
 * @since 2024-04-08 15:44:02
 */
@Service("kxsCampBonusLogService")
@RequiredArgsConstructor
public class KxsCampBonusLogServiceImpl extends ServiceImpl<KxsCampBonusLogMapper, KxsCampBonusLog> implements KxsCampBonusLogService {


    @Override
    public IPage<CampBonusLogVO> getSysPage(Page<CampBonusLogVO> page, CampPageLogDTO param) {

        return baseMapper.getSysPage(page, param);
    }

    @Override
    public List<CampBonusLogVO> exportLog(CampPageLogDTO param) {

        return baseMapper.exportLog(param);
    }
}

