From 4d475797888e1c77559906eb8bff38b1fcd1485f Mon Sep 17 00:00:00 2001 From: xiaoguangbin Date: Mon, 23 Oct 2023 10:19:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:gamma=E8=87=AA=E5=8A=A8=E5=A4=84=E7=90=86ba?= =?UTF-8?q?seline=E7=AD=89=E6=96=87=E4=BB=B6=E4=BF=9D=E5=AD=98=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/jeecg/common/util/GammaFileUtil.java | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/jeecg-module-beta-gamma-analyser/src/main/java/org/jeecg/common/util/GammaFileUtil.java b/jeecg-module-beta-gamma-analyser/src/main/java/org/jeecg/common/util/GammaFileUtil.java index 72546a39..6808c370 100644 --- a/jeecg-module-beta-gamma-analyser/src/main/java/org/jeecg/common/util/GammaFileUtil.java +++ b/jeecg-module-beta-gamma-analyser/src/main/java/org/jeecg/common/util/GammaFileUtil.java @@ -3103,13 +3103,15 @@ public class GammaFileUtil extends AbstractLogOrReport { qsScacPath = qsScacPath.replace(StringPool.BACK_SLASH, StringPool.SLASH); + String savePath = StringPool.SLASH + spectrumPathProperties.getSaveFilePath(); + String rootPath = spectrumPathProperties.getRootPath(); - String qsSaveBaseLine = StringPool.SLASH+spectrumPathProperties.getSaveFilePath()+StringPool.SLASH+qsBaseLinePath; - String qsSaveLc = StringPool.SLASH+spectrumPathProperties.getSaveFilePath()+StringPool.SLASH+qsLcPath; - String qsSaveScac = StringPool.SLASH+spectrumPathProperties.getSaveFilePath()+StringPool.SLASH+qsScacPath; - GammaReportUtil.writeFile(fileAnlyse.getBaseCtrls(), qsSaveBaseLine); - GammaReportUtil.writeFile(fileAnlyse.getVLc(), "LC", qsSaveLc); - GammaReportUtil.writeFile(fileAnlyse.getVScac(), "SCSC", qsSaveScac); + String qsSaveBaseLine = savePath + StringPool.SLASH + qsBaseLinePath; + String qsSaveLc = savePath + StringPool.SLASH + qsLcPath; + String qsSaveScac = savePath + StringPool.SLASH + qsScacPath; + GammaReportUtil.writeFile(fileAnlyse.getBaseCtrls(), rootPath + qsSaveBaseLine); + GammaReportUtil.writeFile(fileAnlyse.getVLc(), "LC", rootPath + qsSaveLc); + GammaReportUtil.writeFile(fileAnlyse.getVScac(), "SCSC", rootPath + qsSaveScac); double totalNumber = 0.0; for(int m=0;m