Commit b73fc51e by guo_minglei@163.com

修改快照记录

parent cbb498b2
......@@ -108,6 +108,7 @@ public class StatusSnapshootThreadRunHelper extends BaseThreadRunHelper {
flowStatusSnapshoot.setFailNode(nodeStatistic.getFail());
flowStatusSnapshoot.setKillNode(nodeStatistic.getKill());
}else {
nodeStatistic = new StatisticData();
//不存在节点的运行日志
nodeStatistic.setUnstart(flow.getFlowNodeCount());
}
......@@ -117,6 +118,8 @@ public class StatusSnapshootThreadRunHelper extends BaseThreadRunHelper {
flowStatusSnapshoot.setUnstartNode(flow.getFlowNodeCount());
}
flowStatusSnapshootList.add(flowStatusSnapshoot);
/*
排队的运行实例已经放在run_recording表中,无需二次记录
//获取排队的运行实例
List<WaitingRecord> waitingRecordList = waitingRecordMapper.findByFlowId(flow.getFlowId());
if (waitingRecordList != null && waitingRecordList.size() > 0){
......@@ -138,7 +141,7 @@ public class StatusSnapshootThreadRunHelper extends BaseThreadRunHelper {
}
flowStatusSnapshootList.add(waitingStatusSnapshoot);
});
}
}*/
});
if (flowList != null && flowList.size() > 0){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment