package com.zd.laboratory.mapper;

import java.util.List;
import com.zd.laboratory.domain.LabWarnPushMessage;
import com.zd.laboratory.domain.vo.LabWarnPushMessageVO;

/**
 * 预警推送消息Mapper接口
 * 
 * @author zhoupan
 * @date 2021-10-06
 */
public interface LabWarnPushMessageMapper 
{
    /**
     * 查询预警推送消息
     * 
     * @param id 预警推送消息主键
     * @return 预警推送消息
     */
    public LabWarnPushMessage selectLabWarnPushMessageById(Long id);

    /**
     * 查询预警推送消息列表
     * 
     * @param labWarnPushMessage 预警推送消息
     * @return 预警推送消息集合
     */
    public List<LabWarnPushMessage> selectLabWarnPushMessageList(LabWarnPushMessage labWarnPushMessage);

    /**
     * 查询预警推送消息列表VO
     *
     * @return 预警推送消息集合
     */
    public List<LabWarnPushMessageVO> selectLabWarnPushMessageVOList(Long riskGroup);

    /**
     * 新增预警推送消息
     * 
     * @param labWarnPushMessage 预警推送消息
     * @return 结果
     */
    public int insertLabWarnPushMessage(LabWarnPushMessage labWarnPushMessage);

    /**
     * 修改预警推送消息
     * 
     * @param labWarnPushMessage 预警推送消息
     * @return 结果
     */
    public int updateLabWarnPushMessage(LabWarnPushMessage labWarnPushMessage);

    /**
     * 删除预警推送消息
     * 
     * @param id 预警推送消息主键
     * @return 结果
     */
    public int deleteLabWarnPushMessageById(Long id);

    /**
     * 批量删除预警推送消息
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLabWarnPushMessageByIds(Long[] ids);
}
