package com.ruoyi.ehsNoticeMessage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.ehsNoticeMessage.domain.EhsNoticeMessage;
import java.util.List;

/**
 * 内部公告Mapper接口
 *
 * @author ruoyi
 * @date 2023-12-06
 */
public interface EhsNoticeMessageMapper extends BaseMapper<EhsNoticeMessage> {
	/**
	 * 查询内部公告
	 *
	 * @param noticeMessageId 内部公告主键
	 * @return 内部公告
	 */
	public EhsNoticeMessage selectEhsNoticeMessageByNoticeMessageId(Long noticeMessageId);

	/**
	 * 查询内部公告列表
	 *
	 * @param ehsNoticeMessage 内部公告
	 * @return 内部公告集合
	 */
	public List<EhsNoticeMessage> selectEhsNoticeMessageList(EhsNoticeMessage ehsNoticeMessage);

	public List<EhsNoticeMessage> selectEhsNoticeMessageListAdmin(EhsNoticeMessage ehsNoticeMessage);
	public int updateReadCompany(EhsNoticeMessage ehsNoticeMessage);
}
