双重预防项目-国泰新华二开定制版
马宇豪
2023-08-25 aa2051a2327c079105110f5424f3a44ffaa0c7bb
src/main/java/com/ruoyi/doublePrevention/service/baseService/PreventRiskJobAndMeasureService.java
@@ -1,6 +1,9 @@
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 {
    /**
@@ -11,9 +14,27 @@
     * 查询JobAndMeasure - By JobId
     */
    PreventRiskJobAndMeasure getJobAndMeasureByJobId(Long jobId);
    List<PreventRiskJobAndMeasure> getJobAndMeasureListByJobId(Long jobId);
    /**
     * 删除job管控措施的附属表关联信息
     */
    int deleteJobAndMeasure(Long jobId);
    /**
     * 检索需要上报的隐患排查任务
     */
    List<PreventRiskJobAndMeasure> listReportWork();
    /**
     * 根据jobId查询对应的管控措施
     */
    List<PreventRiskJobAndMeasure> getMeasureListByJobId(Long jobId);
    /**
     * 修改上报状态
     */
    int updateWorkReportStatus(HandlerReportParam handlerReportParam);
    List<PreventRiskJobAndMeasure> listReportWorkTest();
}