双重预防项目-国泰新华二开定制版
heheng
2025-06-20 90b83e2ee39c9599d08a963ebf445911e5d6ff5c
src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerCheckAndMeasureRepository.java
@@ -1,19 +1,24 @@
package com.ruoyi.doublePrevention.repository;
import com.ruoyi.doublePrevention.entity.PreventRiskDangerCheckAndMeasure;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface PreventRiskDangerCheckAndMeasureRepository {
    /**
     * 写入核查任务检查点与管控措施信息
     * */
    int insertCheckAndMeasure(PreventRiskDangerCheckAndMeasure checkAndMeasure);
    List<PreventRiskDangerCheckAndMeasure> getByBaseCheckPointId(Long checkPointId);
    PreventRiskDangerCheckAndMeasure getByDangerCheckPointId(Long dangerCheckPointId);
}
package com.ruoyi.doublePrevention.repository;
import com.ruoyi.doublePrevention.entity.PreventRiskDangerCheckAndMeasure;
import com.ruoyi.project.tr.hiddenDangerCheckPoint.domain.HiddenDangerCheckPoint;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface PreventRiskDangerCheckAndMeasureRepository {
    /**
     * 写入核查任务检查点与管控措施信息
     * */
    int insertCheckAndMeasure(PreventRiskDangerCheckAndMeasure checkAndMeasure);
    List<PreventRiskDangerCheckAndMeasure> getByBaseCheckPointId(Long checkPointId);
    PreventRiskDangerCheckAndMeasure getByDangerCheckPointId(Long dangerCheckPointId);
    int updateCheckDesc(HiddenDangerCheckPoint hdcp);
    List<PreventRiskDangerCheckAndMeasure> getByCheckId(Long checkId);
}