双重预防项目-国泰新华二开定制版
16639036659
2023-07-07 838314ca286334935a3fa63084990ab23b44e612
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
29
30
31
32
33
34
35
36
37
38
package com.ruoyi.doublePrevention.service.baseService;
 
import com.ruoyi.doublePrevention.entity.PreventRiskJobAndMeasure;
import com.ruoyi.doublePrevention.repository.param.HandlerReportParam;
 
import java.util.List;
 
public interface PreventRiskJobAndMeasureService {
    /**
     * 插入管控措施与job的对应关系
     * */
    int insertJobAndMeasure(PreventRiskJobAndMeasure jobAndMeasure);
    /**
     * 查询JobAndMeasure - By JobId
     */
    PreventRiskJobAndMeasure getJobAndMeasureByJobId(Long jobId);
    /**
     * 删除job管控措施的附属表关联信息
     */
    int deleteJobAndMeasure(Long jobId);
 
 
 
    /**
     * 检索需要上报的隐患排查任务
     */
    List<PreventRiskJobAndMeasure> listReportWork();
    /**
     * 根据jobId查询对应的管控措施
     */
    List<PreventRiskJobAndMeasure> getMeasureListByJobId(Long jobId);
    /**
     * 修改上报状态
     */
    int updateWorkReportStatus(HandlerReportParam handlerReportParam);
 
    List<PreventRiskJobAndMeasure> listReportWorkTest();
}