package com.hotwj.platform.noticeManagerment.adminNotice.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hotwj.platform.noticeManagerment.adminNotice.domain.HotAdminNotice;
import com.hotwj.platform.noticeManagerment.adminNotice.domain.bo.HotAdminNoticeBo;
import com.hotwj.platform.noticeManagerment.adminNotice.domain.vo.HotAdminNoticeVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

/**
 * 行管通知Mapper接口
 *
 * @author shihongwei
 * @date 2026-01-13
 */
@Mapper
public interface HotAdminNoticeMapper extends BaseMapperPlus<HotAdminNotice, HotAdminNoticeVo> {

    /**
     * 分页查询行管通知列表（包含审核意见）
     *
     * @param page 分页对象
     * @param ew   查询条件
     * @return 结果
     */
    Page<HotAdminNoticeVo> selectPageList(@Param("page") Page<HotAdminNoticeVo> page, @Param(Constants.WRAPPER) Wrapper<HotAdminNotice> ew);

    /**
     * 查询通知收到情况列表
     *
     * @param page 分页对象
     * @param bo   查询参数
     * @return 结果
     */
    Page<HotAdminNoticeVo> selectReceiptStatusList(@Param("page") Page<HotAdminNoticeVo> page, @Param("bo") HotAdminNoticeBo bo);
}
