package com.casic.missiles.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.casic.missiles.dto.system.NoticeListRequest;
import com.casic.missiles.model.system.SystemNotice;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 系统管理-通知公告表 Mapper 接口
 * </p>
 *
 * @author wangpeng
 * @since 2022-11-29
 */
public interface SystemNoticeMapper extends BaseMapper<SystemNotice> {
    Long selectMaxNoticeNo();

    Page<SystemNotice> selectListPage(Page<SystemNotice> page, @Param("request") NoticeListRequest request);
}
