package com.yuanchu.mom.service.impl; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.core.metadata.IPage; import com.yuanchu.mom.dto.PersonRewardPunishmentRecordDto; import com.yuanchu.mom.excel.PersonRewardPunishmentRecordExcel; import com.yuanchu.mom.pojo.PersonRewardPunishmentRecord; import com.yuanchu.mom.mapper.PersonRewardPunishmentRecordMapper; import com.yuanchu.mom.service.PersonRewardPunishmentRecordService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframework.stereotype.Service; import java.time.LocalDateTime; import java.util.Collections; import java.util.Date; import java.util.List; /** *

* 奖惩记录 服务实现类 *

* * @author * @since 2024-10-08 11:25:02 */ @Service public class PersonRewardPunishmentRecordServiceImpl extends ServiceImpl implements PersonRewardPunishmentRecordService { @Override public IPage rewardPunishmentPage(Page page, Integer userId, String userName, Date startTime, Date endTime, Integer departmentId) { return baseMapper.rewardPunishmentPage(page, userId, userName, startTime, endTime, departmentId); } @Override public List rewardPunishmentExport(Integer userId, Integer departmentId, String userName, Date startTime, Date endTime) { return baseMapper.rewardPunishmentExport(userId, departmentId, userName, startTime, endTime); } }