双重预防项目-国泰新华二开定制版
kongzy
2024-08-14 135a322f44708b1187d37ea4b6859b5d82113e89
src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerCheckLogRepository.java
@@ -1,49 +1,49 @@
package com.ruoyi.doublePrevention.repository;
import com.ruoyi.doublePrevention.entity.CJReport.CJdto.Data;
import com.ruoyi.doublePrevention.entity.PreventRiskDangerCheckLog;
import com.ruoyi.doublePrevention.repository.param.HandlerReportParam;
import org.springframework.stereotype.Repository;
import java.util.Date;
import java.util.List;
@Repository
public interface PreventRiskDangerCheckLogRepository {
    /**
     * 定时生成排查任务记录时,
     * 插入排查记录附属表
     */
    int insertDangerCheckLog(PreventRiskDangerCheckLog dangerCheck);
    /**
     * 删除定时核查任务
     * */
    int deleteDangerCheck(Long checkId);
    /**
     * 检索需要上报的任务记录
     * */
    List<PreventRiskDangerCheckLog> listReportTask();
    /**
     * 修改上报的数据状态
     * */
    int updateEventReportStatus(HandlerReportParam handlerReportParam);
    /**
     * 查询by checkId
     * */
    PreventRiskDangerCheckLog getByDangerCheckByCheckId(Long checkId);
    PreventRiskDangerCheckLog getByDangerCheckByJobId(Long jobId);
    int updateCheckLog(Long checkId, Long mobileCode);
    int updateTaskReportStatusByList(List<Long> ids, Byte reportStatus, Date reportTime);
    List<PreventRiskDangerCheckLog> listRectifyReportTask();
    List<PreventRiskDangerCheckLog> listSearchRectifyReportTask();
    int updateSearchRectifyReportTask(PreventRiskDangerCheckLog dangerCheckLog);
}
package com.ruoyi.doublePrevention.repository;
import com.ruoyi.doublePrevention.entity.CJReport.CJdto.Data;
import com.ruoyi.doublePrevention.entity.PreventRiskDangerCheckLog;
import com.ruoyi.doublePrevention.repository.param.HandlerReportParam;
import org.springframework.stereotype.Repository;
import java.util.Date;
import java.util.List;
@Repository
public interface PreventRiskDangerCheckLogRepository {
    /**
     * 定时生成排查任务记录时,
     * 插入排查记录附属表
     */
    int insertDangerCheckLog(PreventRiskDangerCheckLog dangerCheck);
    /**
     * 删除定时核查任务
     * */
    int deleteDangerCheck(Long checkId);
    /**
     * 检索需要上报的任务记录
     * */
    List<PreventRiskDangerCheckLog> listReportTask();
    /**
     * 修改上报的数据状态
     * */
    int updateEventReportStatus(HandlerReportParam handlerReportParam);
    /**
     * 查询by checkId
     * */
    PreventRiskDangerCheckLog getByDangerCheckByCheckId(Long checkId);
    PreventRiskDangerCheckLog getByDangerCheckByJobId(Long jobId);
    int updateCheckLog(Long checkId, Long mobileCode);
    int updateTaskReportStatusByList(List<Long> ids, Byte reportStatus, Date reportTime);
    List<PreventRiskDangerCheckLog> listRectifyReportTask();
    List<PreventRiskDangerCheckLog> listSearchRectifyReportTask();
    int updateSearchRectifyReportTask(PreventRiskDangerCheckLog dangerCheckLog);
}