提交 3a01bd31 编写于 作者: ibizdev's avatar ibizdev

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

上级 16985209
...@@ -6072,17 +6072,34 @@ ...@@ -6072,17 +6072,34 @@
"leftPos" : 440, "leftPos" : 440,
"logicNodeType" : "PREPAREPARAM", "logicNodeType" : "PREPAREPARAM",
"name" : "准备参数", "name" : "准备参数",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "END1"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "PREPAREPARAM1"
}
} ],
"getPSDELogicNodeParams" : [ { "getPSDELogicNodeParams" : [ {
"dstFieldName" : "TYPE", "dstFieldName" : "BOOKNAME",
"getDstPSDELogicParam" : { "getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "Default"
}, },
"name" : "空值(NULL) ==> Default[TYPE]", "name" : "空值(NULL) ==> Default[BOOKNAME]",
"paramAction" : "SETPARAMVALUE", "paramAction" : "SETPARAMVALUE",
"srcValueType" : "NULLVALUE" "srcValueType" : "NULLVALUE"
} ], } ],
"topPos" : 330 "topPos" : 330
}, {
"codeName" : "END1",
"leftPos" : 700,
"logicNodeType" : "END",
"name" : "结束",
"topPos" : 470
} ], } ],
"getPSDELogicParams" : [ { "getPSDELogicParams" : [ {
"codeName" : "Default", "codeName" : "Default",
......
...@@ -27,17 +27,34 @@ ...@@ -27,17 +27,34 @@
"leftPos" : 440, "leftPos" : 440,
"logicNodeType" : "PREPAREPARAM", "logicNodeType" : "PREPAREPARAM",
"name" : "准备参数", "name" : "准备参数",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "END1"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "PREPAREPARAM1"
}
} ],
"getPSDELogicNodeParams" : [ { "getPSDELogicNodeParams" : [ {
"dstFieldName" : "TYPE", "dstFieldName" : "BOOKNAME",
"getDstPSDELogicParam" : { "getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "Default"
}, },
"name" : "空值(NULL) ==> Default[TYPE]", "name" : "空值(NULL) ==> Default[BOOKNAME]",
"paramAction" : "SETPARAMVALUE", "paramAction" : "SETPARAMVALUE",
"srcValueType" : "NULLVALUE" "srcValueType" : "NULLVALUE"
} ], } ],
"topPos" : 330 "topPos" : 330
}, {
"codeName" : "END1",
"leftPos" : 700,
"logicNodeType" : "END",
"name" : "结束",
"topPos" : 470
} ], } ],
"getPSDELogicParams" : [ { "getPSDELogicParams" : [ {
"codeName" : "Default", "codeName" : "Default",
......
...@@ -12,9 +12,12 @@ ...@@ -12,9 +12,12 @@
</extensionElements> </extensionElements>
<startEvent id="begin" isInterrupting="true"/> <startEvent id="begin" isInterrupting="true"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="booktest1prepareparam1" id="prepareparam1" implementation="http://www.jboss.org/drools/rule" name="准备参数"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="booktest1prepareparam1" id="prepareparam1" implementation="http://www.jboss.org/drools/rule" name="准备参数"/>
<endEvent id="prepareparam1_end" name="end"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="booktest1end1" id="end1" implementation="http://www.jboss.org/drools/rule" name="结束"/>
<sequenceFlow id="prepareparam1_end_line" sourceRef="prepareparam1" targetRef="prepareparam1_end"/> <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 id="begin_prepareparam1" sourceRef="begin" targetRef="prepareparam1">
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="prepareparam1_end1" sourceRef="prepareparam1" targetRef="end1">
</sequenceFlow>
</process> </process>
</definitions> </definitions>
\ No newline at end of file
...@@ -24,6 +24,14 @@ package cn.ibizlab.trainsys.common.logic.booklogic.test1; ...@@ -24,6 +24,14 @@ package cn.ibizlab.trainsys.common.logic.booklogic.test1;
ruleflow-group "booktest1prepareparam1" ruleflow-group "booktest1prepareparam1"
when when
then then
booktest1default.set("type",null); booktest1default.set("bookname",null);
update(booktest1default);//更新fact中变量值
end
//逻辑处理节点[结束]
rule "end1"
ruleflow-group "booktest1end1"
when
then
update(booktest1default);//更新fact中变量值 update(booktest1default);//更新fact中变量值
end end
\ No newline at end of file
...@@ -387,6 +387,10 @@ ...@@ -387,6 +387,10 @@
"name" : "FIELD24", "name" : "FIELD24",
"codeName" : "Field24" "codeName" : "Field24"
}, },
"getPSDEFormItemUpdate" : {
"modelref" : true,
"id" : "test1"
},
"getPSEditor" : { "getPSEditor" : {
"editorHeight" : 200.0, "editorHeight" : 200.0,
"editorParams" : { "editorParams" : {
......
...@@ -971,6 +971,10 @@ ...@@ -971,6 +971,10 @@
"name" : "FIELD24", "name" : "FIELD24",
"codeName" : "Field24" "codeName" : "Field24"
}, },
"getPSDEFormItemUpdate" : {
"modelref" : true,
"id" : "test1"
},
"getPSEditor" : { "getPSEditor" : {
"editorHeight" : 200.0, "editorHeight" : 200.0,
"editorParams" : { "editorParams" : {
......
...@@ -2399,6 +2399,10 @@ ...@@ -2399,6 +2399,10 @@
"name" : "FIELD24", "name" : "FIELD24",
"codeName" : "Field24" "codeName" : "Field24"
}, },
"getPSDEFormItemUpdate" : {
"modelref" : true,
"id" : "test1"
},
"getPSEditor" : { "getPSEditor" : {
"editorHeight" : 200.0, "editorHeight" : 200.0,
"editorParams" : { "editorParams" : {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册