package com.zd.laboratory.service;

import java.util.List;

import com.zd.common.core.enums.WarnUserAttrEnum;
import com.zd.laboratory.domain.LabRiskPlan;
import com.zd.laboratory.domain.LabWarnPushMessage;
import com.zd.laboratory.domain.vo.LabWarnPushMessageVO;

/**
 * 预警推送消息Service接口
 * 
 * @author zhoupan
 * @date 2021-10-06
 */
public interface ILabWarnPushMessageService 
{


    /**
     * 查询预警推送消息列表
     * 
     * @param id 风险分组ID
     * @return 预警推送消息集合
     */
    public List<LabWarnPushMessageVO> selectLabWarnPushMessageList(Long riskGroup);

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

    /**
     * 新增预警推送消息
     *
     * @param userids 实验室内部用户
     * @param subId 实验室id
     * @return 结果
     */
    public void insertLabWarnPushMessage(Long subId, String userids, Long groupId, LabRiskPlan newRiskPlan, WarnUserAttrEnum warnUserAttrEnum);
}
