双重预防项目-国泰新华二开定制版
huangzhen
2022-09-16 1bdce029a16f396a933848b368040e78740728fa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package com.ruoyi.doublePrevention.repository;
 
import com.ruoyi.doublePrevention.entity.PreventRiskCheckUnit;
import org.springframework.stereotype.Repository;
 
@Repository
public interface PreventRiskCheckUnitRepository {
 
    /**
     * 保存原检查点与管控措施的对应关系
     */
    int insertPointAndMeasure(PreventRiskCheckUnit checkUnit);
 
    /**
     * @description 根据原检查点id查询原检查点与管控措施对应的单条记录
     */
    PreventRiskCheckUnit getPointAndMeasureByPointId(Long checkPointId);
 
    /**
     * @description 根据id对相关记录进行修改
     */
    int updateRiskCheckUnitById(PreventRiskCheckUnit riskCheckUnit);
 
    /**
     * @description 根据原检查点批量删除 原检查点与管控措施对应的多条记录
     */
    int deleteRiskCheckUnitByCheckPointIds(String[] checkPointIds);
}