package org.jeecg.modules.system.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.system.entity.SysAnnouncementSend;
import org.jeecg.modules.system.mapper.SysAnnouncementSendMapper;
import org.jeecg.modules.system.service.ISysAnnouncementSendService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;

/**
 * @Description: 用户通告阅读标记表
 * @author： jeecg-boot
 * @date：   2019-11-22
 * @version： V1.0
 */
@Service
public class SysAnnouncementSendServiceImpl extends ServiceImpl<SysAnnouncementSendMapper, SysAnnouncementSend> implements ISysAnnouncementSendService {

    @Resource
    SysAnnouncementSendMapper sysAnnouncementSendMapper;

    @Override
    public SysAnnouncementSend queryAnnouncementById(String id) {
        return sysAnnouncementSendMapper.queryAnnouncementById(id);
    }

    @Override
    public IPage<SysAnnouncementSend> getPageList(Page<SysAnnouncementSend> page, QueryWrapper<SysAnnouncementSend> queryWrapper) {
        return sysAnnouncementSendMapper.getPageList(page,queryWrapper);
    }
}
