src/main/java/com/ruoyi/doublePrevention/service/baseService/impl/PreventOverhaulLogServiceImpl.java
@@ -71,9 +71,9 @@ ResultVO resultVO = new ResultVO<>(); resultVO.setCode(ErrorCodes.REQUEST_PARAM_ERROR.getCode()); if (insertReqBO.getHazardCode().isEmpty()){ throw new RuntimeException("风险分析对象编码为空"); } // if (insertReqBO.getHazardCode().isEmpty()){ // throw new RuntimeException("风险分析对象编码为空"); // } if (ObjectUtils.isEmpty(insertReqBO.getRiskUnitId())){ throw new RuntimeException("安全风险分析单元为空"); }