package com.hz.pm.api.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hz.pm.api.projectlib.model.entity.Project;
import com.hz.pm.api.sys.model.entity.ProjectEarlyWarning;

import java.util.List;

/**
 * @author PoffyZhang
 */
public interface IProjectEarlyWarningService extends IService<ProjectEarlyWarning> {

    Boolean earlyWarning(Project project, Integer ruleType, Integer noticeType);

    Boolean earlyWarning(Project project, Integer ruleType, List<Integer> noticeTypes);

    Boolean earlyWarning(String projectCode, Integer code, List<Integer> noticeTypes);
}
