package cn.iocoder.yudao.module.inspection.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.iocoder.yudao.module.inspection.entity.WarnMessage;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * warnMsgMapper接口
 *
 * @author zcy
 * @date 2023-10-13
 */
@Mapper
public interface WarnMessageMapper  extends BaseMapper<WarnMessage>
{
    /**
     * 查询warnMsg
     *
     * @param id warnMsg主键
     * @return warnMsg
     */
    public WarnMessage selectWarnMessageById(Long id);

    /**
     * 查询warnMsg列表
     *
     * @param warnMessage warnMsg
     * @return warnMsg集合
     */
    public List<WarnMessage> selectWarnMessageList(WarnMessage warnMessage);

    IPage<WarnMessage> pageList(Page page,@Param("warnMessage") WarnMessage warnMessage);

}
