Commit d3e2bff5 by tiger

// 清空前批次结果

1 parent c638a358
...@@ -31,6 +31,13 @@ public class StartExecutor implements SopNodeExecutor { ...@@ -31,6 +31,13 @@ public class StartExecutor implements SopNodeExecutor {
private SopService sopService; private SopService sopService;
@Override @Override
public SnapshotStruct prepare(SopStruct sop, SopInstNode node) {
SnapshotStruct ss = SopNodeExecutor.super.prepare(sop, node);
ss.getResultMap().clear();// 清空前批次结果
return ss;
}
@Override
public Object execute(SopStruct sop, SopInstNode node, SnapshotStruct executeStruct) throws Exception { public Object execute(SopStruct sop, SopInstNode node, SnapshotStruct executeStruct) throws Exception {
return null; return null;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!