提交 211ee766 编写于 作者: ibizdev's avatar ibizdev

lengyuace 发布系统代码 [TrainSys,网页端]

上级 298a73a4
......@@ -2501,7 +2501,7 @@
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "END1"
"id" : "BINDPARAM1"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
......@@ -2519,28 +2519,34 @@
"paramAction" : "SETPARAMVALUE",
"srcValue" : "1111",
"srcValueType" : "SRCVALUE"
}, {
"dstFieldName" : "aaa",
"getDstPSDELogicParam" : {
} ],
"topPos" : 350
}, {
"codeName" : "BINDPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "simpleVar"
},
"leftPos" : 420,
"logicNodeType" : "BINDPARAM",
"name" : "绑定参数",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "simpleVar"
"id" : "END1"
},
"name" : "直接值[bbbb] ==> simple[aaa]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "bbbb",
"srcValueType" : "SRCVALUE"
}, {
"dstFieldName" : "bbb",
"getDstPSDELogicParam" : {
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "simplenum"
},
"name" : "直接值[[111,555,999]] ==> simplenum[bbb]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "[111,555,999]",
"srcValueType" : "SRCVALUE"
"id" : "BINDPARAM1"
}
} ],
"topPos" : 350
"srcFieldName" : "MONEY",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"topPos" : 469
}, {
"codeName" : "END1",
"leftPos" : 440,
......
......@@ -30,7 +30,7 @@
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "END1"
"id" : "BINDPARAM1"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
......@@ -48,28 +48,34 @@
"paramAction" : "SETPARAMVALUE",
"srcValue" : "1111",
"srcValueType" : "SRCVALUE"
}, {
"dstFieldName" : "aaa",
"getDstPSDELogicParam" : {
} ],
"topPos" : 350
}, {
"codeName" : "BINDPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "simpleVar"
},
"leftPos" : 420,
"logicNodeType" : "BINDPARAM",
"name" : "绑定参数",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "simpleVar"
"id" : "END1"
},
"name" : "直接值[bbbb] ==> simple[aaa]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "bbbb",
"srcValueType" : "SRCVALUE"
}, {
"dstFieldName" : "bbb",
"getDstPSDELogicParam" : {
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "simplenum"
},
"name" : "直接值[[111,555,999]] ==> simplenum[bbb]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "[111,555,999]",
"srcValueType" : "SRCVALUE"
"id" : "BINDPARAM1"
}
} ],
"topPos" : 350
"srcFieldName" : "MONEY",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"topPos" : 469
}, {
"codeName" : "END1",
"leftPos" : 440,
......
......@@ -14,12 +14,15 @@
</extensionElements>
<startEvent id="begin" isInterrupting="true"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="phonexxxprepareparam1" id="prepareparam1" implementation="http://www.jboss.org/drools/rule" name="准备参数"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="phonexxxbindparam1" id="bindparam1" implementation="http://www.jboss.org/drools/rule" name="绑定参数"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="phonexxxend1" id="end1" implementation="http://www.jboss.org/drools/rule" name="结束"/>
<endEvent id="end1_end" name="end"/>
<sequenceFlow id="end1_end_line" sourceRef="end1" targetRef="end1_end"/>
<sequenceFlow id="begin_prepareparam1" sourceRef="begin" targetRef="prepareparam1">
</sequenceFlow>
<sequenceFlow id="prepareparam1_end1" sourceRef="prepareparam1" targetRef="end1">
<sequenceFlow id="prepareparam1_bindparam1" sourceRef="prepareparam1" targetRef="bindparam1">
</sequenceFlow>
<sequenceFlow id="bindparam1_end1" sourceRef="bindparam1" targetRef="end1">
</sequenceFlow>
</process>
</definitions>
\ No newline at end of file
......@@ -27,8 +27,16 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxx;
when
then
phonexxxdefault.set("money","1111");
phonexxxsimplevar.set("aaa","bbbb");
phonexxxsimplenum.set("bbb","[111,555,999]");
update(phonexxxdefault);//更新fact中变量值
update(phonexxxsimplevar);//更新fact中变量值
update(phonexxxsimplenum);//更新fact中变量值
end
//逻辑处理节点[绑定参数]
rule "bindparam1"
ruleflow-group "phonexxxbindparam1"
when
then
update(phonexxxdefault);//更新fact中变量值
update(phonexxxsimplevar);//更新fact中变量值
update(phonexxxsimplenum);//更新fact中变量值
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册