双重预防项目-国泰新华二开定制版
16639036659
2022-09-27 7e7195766eb018b4ba00b2d0663f6dcb11adefc8
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);
 
}