人工交互模块增加beta部分日志文件的存在情况判断,上传后的日志文件不进行删除
This commit is contained in:
parent
82713a8795
commit
e159740d76
|
@ -4057,10 +4057,8 @@ public class SpectrumAnalysisServiceImpl extends AbstractLogOrReport implements
|
|||
String logFilePath = parameterProperties.getLogFilePath() + File.separator + DateUtils.formatDate(new Date(), "yyyy-MM-dd") + File.separator + betaDataFile.getSampleFileName().replace("PHD", "log");
|
||||
File logFile = new File(logFilePath);
|
||||
try {
|
||||
if (logFile.exists()) {
|
||||
FileInputStream in = new FileInputStream(logFile);
|
||||
ftpUtil.saveFile(logPathName, logFileName, in);
|
||||
}
|
||||
FileInputStream in = new FileInputStream(logFile);
|
||||
ftpUtil.saveFile(logPathName, logFileName, in);
|
||||
} catch (FileNotFoundException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user