人工交互beta,gamma上传文件后删除本地文件操作移除

This commit is contained in:
qiaoqinzheng 2024-01-23 08:55:08 +08:00
parent 49dee87eed
commit d611bf1ff1
2 changed files with 0 additions and 24 deletions

View File

@ -5095,10 +5095,6 @@ public class GammaServiceImpl extends AbstractLogOrReport implements IGammaServi
ftpUtil.saveFile(baselinePathName, baselineFileName, in);
} catch (FileNotFoundException e) {
throw new RuntimeException(e);
} finally {
if (Objects.nonNull(baselineFile)) {
baselineFile.delete();
}
}
}
{
@ -5110,10 +5106,6 @@ public class GammaServiceImpl extends AbstractLogOrReport implements IGammaServi
ftpUtil.saveFile(lcPathName, lcFileName, in);
} catch (FileNotFoundException e) {
throw new RuntimeException(e);
} finally {
if (Objects.nonNull(lcFile)) {
lcFile.delete();
}
}
}
{
@ -5125,10 +5117,6 @@ public class GammaServiceImpl extends AbstractLogOrReport implements IGammaServi
ftpUtil.saveFile(scacPathName, scacFileName, in);
} catch (FileNotFoundException e) {
throw new RuntimeException(e);
} finally {
if (Objects.nonNull(scacFile)) {
scacFile.delete();
}
}
}
{
@ -5141,10 +5129,6 @@ public class GammaServiceImpl extends AbstractLogOrReport implements IGammaServi
ftpUtil.saveFile(logPathName, logFileName, in);
} catch (FileNotFoundException e) {
throw new RuntimeException(e);
} finally {
if (Objects.nonNull(logFile)) {
logFile.delete();
}
}
}
{
@ -5157,10 +5141,6 @@ public class GammaServiceImpl extends AbstractLogOrReport implements IGammaServi
ftpUtil.saveFile(rptPathName, rptFileName, in);
} catch (FileNotFoundException e) {
throw new RuntimeException(e);
} finally {
if (Objects.nonNull(rptFile)) {
rptFile.delete();
}
}
}
List<String> paths = new LinkedList<>();

View File

@ -4088,10 +4088,6 @@ public class SpectrumAnalysisServiceImpl extends AbstractLogOrReport implements
ftpUtil.saveFile(rptPathName, rptFileName, in);
} catch (FileNotFoundException e) {
throw new RuntimeException(e);
} finally {
if (Objects.nonNull(rptFile)) {
rptFile.delete();
}
}
}
} catch (FileNotFoundException e) {