Aris流程导入停止后删除其缓存

This commit is contained in:
446052889@qq.com 2022-07-04 18:23:19 +08:00
parent be39fa97fe
commit 5afbe8fc3b
2 changed files with 2 additions and 0 deletions

View File

@ -312,6 +312,7 @@ public class ArisXmlImportRun {
LogUtil.appendLog("\n" + "Aris XML流程导入 End " + UtilDate.datetimeFormat(endDate), simpleLogFile, fullLogFile, warnLogFile);
LogUtil.appendLog("--------------------------------", simpleLogFile, fullLogFile, warnLogFile);
LogUtil.appendLog(Constant.END_LOG, simpleLogFile, fullLogFile, warnLogFile);
LogRealTimeCountCache.getCache().remove(logId);
} catch (Exception e) {
e.printStackTrace();
// 记录结束日志
@ -324,6 +325,7 @@ public class ArisXmlImportRun {
LogUtil.updateLog(logId, endDate, Constant.LOG_RESULT_StATUS_ERROR, resultMsg);
LogUtil.appendLog(Constant.LOG_ERROR + resultMsg, simpleLogFile, fullLogFile, warnLogFile);
LogUtil.appendLog(Constant.END_LOG, simpleLogFile, fullLogFile, warnLogFile);
LogRealTimeCountCache.getCache().remove(logId);
}
}