双重预防项目-国泰新华二开定制版
huangzhen
2022-10-09 2ccbb8881721a16ec5cf68b12346ecdc0b6941cf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.ruoyi.doublePrevention.repository;
 
import com.ruoyi.doublePrevention.entity.PreventRiskJobAndMeasure;
import org.springframework.stereotype.Repository;
 
@Repository
public interface PreventRiskJobAndMeasureRepository {
 
    /**
     * 插入管控措施与job的对应关系
     * */
    int insertJobAndMeasure(PreventRiskJobAndMeasure jobAndMeasure);
    /**
     * 查询JobAndMeasure - By JobId
     */
    PreventRiskJobAndMeasure getJobAndMeasureByJobId(Long jobId);
    /**
     * 删除job管控措施的附属表关联信息
     */
    int deleteJobAndMeasure(Long jobId);
 
}