双重预防项目-国泰新华二开定制版
16639036659
2023-11-08 303223dc45f41cdfb14364a7aa7b643f91421b76
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;
@@ -31,4 +32,14 @@
    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);
    }
}