双重预防项目-国泰新华二开定制版
16639036659
2024-06-19 ecb064d243bcc5eabefe96612f387e40cc4719d8
src/main/java/com/ruoyi/doublePrevention/service/baseService/impl/PreventRiskDangerCheckAndMeasureServiceImpl.java
@@ -3,6 +3,7 @@
import com.ruoyi.doublePrevention.entity.PreventRiskDangerCheckAndMeasure;
import com.ruoyi.doublePrevention.repository.PreventRiskDangerCheckAndMeasureRepository;
import com.ruoyi.doublePrevention.service.baseService.PreventRiskDangerCheckAndMeasureService;
import com.ruoyi.project.tr.hiddenDangerCheckPoint.domain.HiddenDangerCheckPoint;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@@ -26,4 +27,19 @@
    public List<PreventRiskDangerCheckAndMeasure> getByBaseCheckPointId(Long checkPointId) {
        return preventRiskDangerCheckAndMeasureRepository.getByBaseCheckPointId(checkPointId);
    }
    @Override
    public PreventRiskDangerCheckAndMeasure getByDangerCheckPointId(Long dangerCheckPointId) {
        return preventRiskDangerCheckAndMeasureRepository.getByDangerCheckPointId(dangerCheckPointId);
    }
    @Override
    public int updateCheckDesc(HiddenDangerCheckPoint hdcp) {
        return preventRiskDangerCheckAndMeasureRepository.updateCheckDesc(hdcp);
    }
    @Override
    public List<PreventRiskDangerCheckAndMeasure> getByCheckId(Long checkId) {
        return preventRiskDangerCheckAndMeasureRepository.getByCheckId(checkId);
    }
}