20 lines
624 B
Java
20 lines
624 B
Java
|
|
package com.usthe.alert.dao;
|
||
|
|
|
||
|
|
import com.usthe.alert.pojo.entity.AlertDefineBind;
|
||
|
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||
|
|
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* AlertDefineBind 数据库操作
|
||
|
|
* @author tom
|
||
|
|
* @date 2021/12/9 10:03
|
||
|
|
*/
|
||
|
|
public interface AlertDefineBindDao extends JpaRepository<AlertDefineBind, Long>, JpaSpecificationExecutor<AlertDefineBind> {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 根据告警定义ID删除告警定义与监控关联
|
||
|
|
* @param alertDefineId 告警定义ID
|
||
|
|
*/
|
||
|
|
void deleteAlertDefineBindsByAlertDefineIdEquals(Long alertDefineId);
|
||
|
|
}
|