存储谱数据到数据库时,生成的临时日志,报告文件进行删除
This commit is contained in:
parent
b6bad77274
commit
19b0366ace
|
@ -5129,6 +5129,8 @@ public class GammaServiceImpl extends AbstractLogOrReport implements IGammaServi
|
|||
ftpUtil.saveFile(logPathName, logFileName, in);
|
||||
} catch (FileNotFoundException e) {
|
||||
throw new RuntimeException(e);
|
||||
} finally {
|
||||
logFile.delete();
|
||||
}
|
||||
}
|
||||
{
|
||||
|
@ -5141,6 +5143,8 @@ public class GammaServiceImpl extends AbstractLogOrReport implements IGammaServi
|
|||
ftpUtil.saveFile(rptPathName, rptFileName, in);
|
||||
} catch (FileNotFoundException e) {
|
||||
throw new RuntimeException(e);
|
||||
} finally {
|
||||
rptFile.delete();
|
||||
}
|
||||
}
|
||||
List<String> paths = new LinkedList<>();
|
||||
|
|
|
@ -4090,6 +4090,8 @@ public class SpectrumAnalysisServiceImpl extends AbstractLogOrReport implements
|
|||
ftpUtil.saveFile(rptPathName, rptFileName, in);
|
||||
} catch (FileNotFoundException e) {
|
||||
throw new RuntimeException(e);
|
||||
} finally {
|
||||
rptFile.delete();
|
||||
}
|
||||
}
|
||||
} catch (FileNotFoundException e) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user