双重预防项目-国泰新华二开定制版
16639036659
2023-07-07 838314ca286334935a3fa63084990ab23b44e612
src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskJobAndMeasureRepository.java
@@ -1,7 +1,10 @@
package com.ruoyi.doublePrevention.repository;
import com.ruoyi.doublePrevention.entity.PreventRiskJobAndMeasure;
import com.ruoyi.doublePrevention.repository.param.HandlerReportParam;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface PreventRiskJobAndMeasureRepository {
@@ -19,4 +22,20 @@
     */
    int deleteJobAndMeasure(Long jobId);
    /**
     * 检索需要上报的隐患排查任务
     */
    List<PreventRiskJobAndMeasure> listReportWork();
    /**
     * 根据jobId查询对应的管控措施
     */
    List<PreventRiskJobAndMeasure> getMeasureListByJobId(Long jobId);
    /**
     * 修改上报状态
     */
    int updateWorkReportStatus(HandlerReportParam handlerReportParam);
    List<PreventRiskJobAndMeasure> listReportWorkTest();
}