Commit e35a96f6 by huangfusuper

修改统计

parent 5ba64995
...@@ -862,7 +862,7 @@ public class ApiFlowServiceImpl implements ApiFlowService { ...@@ -862,7 +862,7 @@ public class ApiFlowServiceImpl implements ApiFlowService {
nodeStatisticData = new StatisticData(); nodeStatisticData = new StatisticData();
nodeStatisticData.setUnstart(nodeList.size()); nodeStatisticData.setUnstart(nodeList.size());
}else { }else {
nodeStatisticData.setUnstart(nodeList.size() - nodeStatisticData.getUnstart()); nodeStatisticData.setUnstart(nodeList.size() - nodeStatisticData.getFail() - nodeStatisticData.getStop() - nodeStatisticData.getRunIng() - nodeStatisticData.getSuccess() - nodeStatisticData.getKill());
} }
List<FlowStatusSnapshoot> flowStatusSnapshootList = flowStatusSnapshootMapper.findByTime(startTime, endTime); List<FlowStatusSnapshoot> flowStatusSnapshootList = flowStatusSnapshootMapper.findByTime(startTime, endTime);
......
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