查询批量创建的执行过程日志一个小问题处理
This commit is contained in:
parent
97cb0f291d
commit
b7bd5ff8d3
Binary file not shown.
@ -355,16 +355,9 @@ public class BatchWeb extends ActionWeb {
|
|||||||
public String queryBatchCreateLog(String type, String logId, String path, String timer) {
|
public String queryBatchCreateLog(String type, String logId, String path, String timer) {
|
||||||
String content = "";
|
String content = "";
|
||||||
if (new File(path).exists()) {
|
if (new File(path).exists()) {
|
||||||
if ("processList".equals(type)) {// 流程清单保存
|
|
||||||
if (LogRealTimeCountCache.getCache().get(logId) == null) {
|
if (LogRealTimeCountCache.getCache().get(logId) == null) {
|
||||||
timer = "";
|
timer = "";
|
||||||
}
|
}
|
||||||
} else if ("shapeList".equals(type)) {// 模型结构保存
|
|
||||||
if (BatchCache.getCache().get(logId) == null) {
|
|
||||||
timer = "";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
content = LogUtil.getLogContent(new File(path));
|
content = LogUtil.getLogContent(new File(path));
|
||||||
}
|
}
|
||||||
ResponseObject ro = ResponseObject.newOkResponse();
|
ResponseObject ro = ResponseObject.newOkResponse();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user