From 99ab77dcf0ab3430b8ec19c8777d16745f9f2ee1 Mon Sep 17 00:00:00 2001 From: hzj <826100833@qq.com> Date: Tue, 3 Feb 2026 13:42:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E9=99=8D=E5=8E=9F=E5=9B=A0=E6=9A=82?= =?UTF-8?q?=E9=99=8D=E7=B1=BB=E5=9E=8B=E9=82=A3=E8=BE=B9=E6=B2=A1=E5=85=BC?= =?UTF-8?q?=E5=AE=B9=E5=A4=A7=E5=B0=8F=E5=86=99=E5=90=8E=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/EventWaveAnalysisServiceImpl.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pqs-advance/advance-boot/src/main/java/com/njcn/advance/service/impl/EventWaveAnalysisServiceImpl.java b/pqs-advance/advance-boot/src/main/java/com/njcn/advance/service/impl/EventWaveAnalysisServiceImpl.java index 640f75e66..6b7dc7069 100644 --- a/pqs-advance/advance-boot/src/main/java/com/njcn/advance/service/impl/EventWaveAnalysisServiceImpl.java +++ b/pqs-advance/advance-boot/src/main/java/com/njcn/advance/service/impl/EventWaveAnalysisServiceImpl.java @@ -81,7 +81,13 @@ public class EventWaveAnalysisServiceImpl implements EventWaveAnalysisService { inputStreamCfg = fileStorageUtil.getFileStream(OssPath.WAVE_DIR + lineDetailDataVO.getIp() + StrUtil.SLASH + rmpEventDetailPO.getWavePath() + GeneralConstant.CFG); inputStreamDat = fileStorageUtil.getFileStream(OssPath.WAVE_DIR + lineDetailDataVO.getIp() + StrUtil.SLASH + rmpEventDetailPO.getWavePath() + GeneralConstant.DAT); } catch (Exception e) { - throw new BusinessException("暂降cfg,dat文件缺失,请联系管理员"); + try { + inputStreamCfg = fileStorageUtil.getFileStream(OssPath.WAVE_DIR + lineDetailDataVO.getIp() + StrUtil.SLASH + rmpEventDetailPO.getWavePath() + GeneralConstant.CFG.toLowerCase()); + inputStreamDat = fileStorageUtil.getFileStream(OssPath.WAVE_DIR + lineDetailDataVO.getIp() + StrUtil.SLASH + rmpEventDetailPO.getWavePath() + GeneralConstant.DAT.toLowerCase()); + } catch (Exception e1) { + + throw new BusinessException("暂降cfg,dat文件缺失,请联系管理员"); + } } //读取