查询批量创建的执行过程日志一个小问题处理

This commit is contained in:
446052889@qq.com 2022-09-09 16:21:09 +08:00
parent 97cb0f291d
commit b7bd5ff8d3
2 changed files with 2 additions and 9 deletions

View File

@ -355,16 +355,9 @@ public class BatchWeb extends ActionWeb {
public String queryBatchCreateLog(String type, String logId, String path, String timer) {
String content = "";
if (new File(path).exists()) {
if ("processList".equals(type)) {// 流程清单保存
if (LogRealTimeCountCache.getCache().get(logId) == null) {
timer = "";
}
} else if ("shapeList".equals(type)) {// 模型结构保存
if (BatchCache.getCache().get(logId) == null) {
timer = "";
}
if (LogRealTimeCountCache.getCache().get(logId) == null) {
timer = "";
}
content = LogUtil.getLogContent(new File(path));
}
ResponseObject ro = ResponseObject.newOkResponse();