16639036659
2023-05-16 5f1ab44b47d1e28121ecf6983fada2bc628a69fb
src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerCheckLogRepository.java
@@ -1,7 +1,10 @@
package com.ruoyi.doublePrevention.repository;
import com.ruoyi.doublePrevention.entity.PreventRiskDangerCheckLog;
import com.ruoyi.doublePrevention.repository.param.HandlerReportParam;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface PreventRiskDangerCheckLogRepository {
@@ -14,4 +17,21 @@
     * 删除定时核查任务
     * */
    int deleteDangerCheck(Long checkId);
    /**
     * 检索需要上报的任务记录
     * */
    List<PreventRiskDangerCheckLog> listReportTask();
    /**
     * 修改上报的数据状态
     * */
    int updateEventReportStatus(HandlerReportParam handlerReportParam);
    /**
     * 查询by checkId
     * */
    PreventRiskDangerCheckLog getByDangerCheckByCheckId(Long checkId);
    PreventRiskDangerCheckLog getByDangerCheckByJobId(Long jobId);
}