Commit 666477ac by zhouhaibao

[+]sop策略执行

1 parent c30789de
......@@ -51,6 +51,12 @@ public class SopInstNodeExecuteJobHandler {
// SopXxlJobUtil.initSopNodeJob(sop);
}
/**
* 节点执行
*
* @param node 节点信息
* @param sop 执行器
*/
public void execute(SopInstNode node, SopStruct sop) {
String nodeType = node.getNodeType();
String handerType = BussinessType.getHanderType(nodeType);
......@@ -64,6 +70,7 @@ public class SopInstNodeExecuteJobHandler {
// 向上转型
SopProduct sopProduct = (SopProduct) classByValue.newInstance();
BeanUtilsEx.copyProperties(node, sopProduct);
sopProduct.build(sopProduct, sop, instance);
} catch (InstantiationException e) {
throw new RuntimeException(e);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!