提交 20c0c424 编写于 作者: ibizdev's avatar ibizdev

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

上级 47908b40
...@@ -2614,7 +2614,7 @@ ...@@ -2614,7 +2614,7 @@
"getPSDELogicLinks" : [ { "getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : { "getDstPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "END1" "id" : "DEACTION2"
}, },
"name" : "连接名称", "name" : "连接名称",
"getSrcPSDELogicNode" : { "getSrcPSDELogicNode" : {
...@@ -2686,6 +2686,39 @@ ...@@ -2686,6 +2686,39 @@
"id" : "Default" "id" : "Default"
}, },
"topPos" : 420 "topPos" : 420
}, {
"codeName" : "DEACTION2",
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/Phone/PSDEACTIONS/Update.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/Phone.json"
},
"leftPos" : 140,
"logicNodeType" : "DEACTION",
"name" : "实体行为",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "END1"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
}
} ],
"getRetPSDELogicParam" : {
"modelref" : true,
"id" : "updateparam"
},
"topPos" : 530
}, { }, {
"codeName" : "END1", "codeName" : "END1",
"leftPos" : 440, "leftPos" : 440,
...@@ -2724,6 +2757,15 @@ ...@@ -2724,6 +2757,15 @@
"name" : "simplenum", "name" : "simplenum",
"stdDataType" : 7, "stdDataType" : 7,
"simpleListParam" : true "simpleListParam" : true
}, {
"codeName" : "updateparam",
"logicName" : "updateparam",
"name" : "updateparam",
"getParamPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/Phone.json"
},
"entityParam" : true
} ], } ],
"getStartPSDELogicNode" : { "getStartPSDELogicNode" : {
"modelref" : true, "modelref" : true,
......
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
"getPSDELogicLinks" : [ { "getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : { "getDstPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "END1" "id" : "DEACTION2"
}, },
"name" : "连接名称", "name" : "连接名称",
"getSrcPSDELogicNode" : { "getSrcPSDELogicNode" : {
...@@ -176,6 +176,39 @@ ...@@ -176,6 +176,39 @@
"id" : "Default" "id" : "Default"
}, },
"topPos" : 420 "topPos" : 420
}, {
"codeName" : "DEACTION2",
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/Phone/PSDEACTIONS/Update.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/Phone.json"
},
"leftPos" : 140,
"logicNodeType" : "DEACTION",
"name" : "实体行为",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "END1"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
}
} ],
"getRetPSDELogicParam" : {
"modelref" : true,
"id" : "updateparam"
},
"topPos" : 530
}, { }, {
"codeName" : "END1", "codeName" : "END1",
"leftPos" : 440, "leftPos" : 440,
...@@ -214,6 +247,15 @@ ...@@ -214,6 +247,15 @@
"name" : "simplenum", "name" : "simplenum",
"stdDataType" : 7, "stdDataType" : 7,
"simpleListParam" : true "simpleListParam" : true
}, {
"codeName" : "updateparam",
"logicName" : "updateparam",
"name" : "updateparam",
"getParamPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/Phone.json"
},
"entityParam" : true
} ], } ],
"getStartPSDELogicNode" : { "getStartPSDELogicNode" : {
"modelref" : true, "modelref" : true,
......
...@@ -9,11 +9,13 @@ ...@@ -9,11 +9,13 @@
<tns:metaData express="new cn.ibizlab.trainsys.core.common.domain.Phone()" name="phonexxxacreateparam" type="refentity"/> <tns:metaData express="new cn.ibizlab.trainsys.core.common.domain.Phone()" name="phonexxxacreateparam" type="refentity"/>
<tns:metaData express="new HashMap()" name="phonexxxasimplevar" type="refentity"/> <tns:metaData express="new HashMap()" name="phonexxxasimplevar" type="refentity"/>
<tns:metaData express="new HashMap()" name="phonexxxasimplenum" type="refentity"/> <tns:metaData express="new HashMap()" name="phonexxxasimplenum" type="refentity"/>
<tns:metaData express="new cn.ibizlab.trainsys.core.common.domain.Phone()" name="phonexxxaupdateparam" type="refentity"/>
<tns:metaData express="T(cn.ibizlab.trainsys.util.security.SpringContextHolder).getBean(T(cn.ibizlab.trainsys.core.common.service.IPhoneService))" name="phoneservice" type="service"/> <tns:metaData express="T(cn.ibizlab.trainsys.util.security.SpringContextHolder).getBean(T(cn.ibizlab.trainsys.core.common.service.IPhoneService))" name="phoneservice" type="service"/>
<tns:metaData express="T(cn.ibizlab.trainsys.util.security.SpringContextHolder).getBean(T(cn.ibizlab.trainsys.core.common.service.IPhoneService))" name="iBzSysPhoneDefaultService" type="service"/> <tns:metaData express="T(cn.ibizlab.trainsys.util.security.SpringContextHolder).getBean(T(cn.ibizlab.trainsys.core.common.service.IPhoneService))" name="iBzSysPhoneDefaultService" type="service"/>
<tns:metaData express="T(cn.ibizlab.trainsys.util.security.AuthenticationUser).getAuthenticationUser()" name="curuser" type="session"/> <tns:metaData express="T(cn.ibizlab.trainsys.util.security.AuthenticationUser).getAuthenticationUser()" name="curuser" type="session"/>
<tns:global identifier="phonexxxadefault" type="cn.ibizlab.trainsys.core.common.domain.Phone" /> <tns:global identifier="phonexxxadefault" type="cn.ibizlab.trainsys.core.common.domain.Phone" />
<tns:global identifier="phonexxxacreateparam" type="cn.ibizlab.trainsys.core.common.domain.Phone" /> <tns:global identifier="phonexxxacreateparam" type="cn.ibizlab.trainsys.core.common.domain.Phone" />
<tns:global identifier="phonexxxaupdateparam" type="cn.ibizlab.trainsys.core.common.domain.Phone" />
</extensionElements> </extensionElements>
<startEvent id="begin" isInterrupting="true"/> <startEvent id="begin" isInterrupting="true"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="phonexxxathrowexception1" id="throwexception1" implementation="http://www.jboss.org/drools/rule" name="抛出异常"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="phonexxxathrowexception1" id="throwexception1" implementation="http://www.jboss.org/drools/rule" name="抛出异常"/>
...@@ -23,6 +25,7 @@ ...@@ -23,6 +25,7 @@
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="phonexxxadeaction1" id="deaction1" implementation="http://www.jboss.org/drools/rule" name="实体行为"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="phonexxxadeaction1" id="deaction1" implementation="http://www.jboss.org/drools/rule" name="实体行为"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="phonexxxasubsyssamethod1" id="subsyssamethod1" implementation="http://www.jboss.org/drools/rule" name="外部接口调用"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="phonexxxasubsyssamethod1" id="subsyssamethod1" implementation="http://www.jboss.org/drools/rule" name="外部接口调用"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="phonexxxabindparam1" id="bindparam1" implementation="http://www.jboss.org/drools/rule" name="绑定参数"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="phonexxxabindparam1" id="bindparam1" implementation="http://www.jboss.org/drools/rule" name="绑定参数"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="phonexxxadeaction2" id="deaction2" implementation="http://www.jboss.org/drools/rule" name="实体行为"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="phonexxxaend1" id="end1" implementation="http://www.jboss.org/drools/rule" name="结束"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="phonexxxaend1" id="end1" implementation="http://www.jboss.org/drools/rule" name="结束"/>
<endEvent id="end1_end" name="end"/> <endEvent id="end1_end" name="end"/>
<sequenceFlow id="end1_end_line" sourceRef="end1" targetRef="end1_end"/> <sequenceFlow id="end1_end_line" sourceRef="end1" targetRef="end1_end"/>
...@@ -36,16 +39,19 @@ ...@@ -36,16 +39,19 @@
$phonexxxacreateparam:Phone(); $phonexxxacreateparam:Phone();
$phonexxxasimplevar:Map(); $phonexxxasimplevar:Map();
$phonexxxasimplenum:Map(); $phonexxxasimplenum:Map();
eval($phonexxxadefault==phonexxxadefault && $phonexxxacreateparam==phonexxxacreateparam && ); $phonexxxaupdateparam:Phone();
eval($phonexxxadefault==phonexxxadefault && $phonexxxacreateparam==phonexxxacreateparam && $phonexxxaupdateparam==phonexxxaupdateparam);
eval((RuleUtils.test($phonexxxadefault.get("error"),"EQ","1"))) eval((RuleUtils.test($phonexxxadefault.get("error"),"EQ","1")))
]]> ]]>
</conditionExpression> </conditionExpression>
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="deaction1_end1" sourceRef="deaction1" targetRef="end1"> <sequenceFlow id="deaction1_deaction2" sourceRef="deaction1" targetRef="deaction2">
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="subsyssamethod1_bindparam1" sourceRef="subsyssamethod1" targetRef="bindparam1"> <sequenceFlow id="subsyssamethod1_bindparam1" sourceRef="subsyssamethod1" targetRef="bindparam1">
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="bindparam1_end1" sourceRef="bindparam1" targetRef="end1"> <sequenceFlow id="bindparam1_end1" sourceRef="bindparam1" targetRef="end1">
</sequenceFlow>
<sequenceFlow id="deaction2_end1" sourceRef="deaction2" targetRef="end1">
</sequenceFlow> </sequenceFlow>
<exclusiveGateway id="gateway-prepareparam1" name="Gateway" gatewayDirection="Diverging" default="gateway-prepareparam1_end_line"></exclusiveGateway> <exclusiveGateway id="gateway-prepareparam1" name="Gateway" gatewayDirection="Diverging" default="gateway-prepareparam1_end_line"></exclusiveGateway>
<sequenceFlow id="prepareparam1_gateway-prepareparam1_gatewayline" sourceRef="prepareparam1" targetRef="gateway-prepareparam1"></sequenceFlow> <sequenceFlow id="prepareparam1_gateway-prepareparam1_gatewayline" sourceRef="prepareparam1" targetRef="gateway-prepareparam1"></sequenceFlow>
......
...@@ -9,6 +9,7 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxxa; ...@@ -9,6 +9,7 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxxa;
global cn.ibizlab.trainsys.core.common.domain.Phone phonexxxacreateparam; global cn.ibizlab.trainsys.core.common.domain.Phone phonexxxacreateparam;
global java.util.Map phonexxxasimplevar; global java.util.Map phonexxxasimplevar;
global java.util.Map phonexxxasimplenum; global java.util.Map phonexxxasimplenum;
global cn.ibizlab.trainsys.core.common.domain.Phone phonexxxaupdateparam;
global cn.ibizlab.trainsys.core.common.service.IPhoneService phoneservice; global cn.ibizlab.trainsys.core.common.service.IPhoneService phoneservice;
global cn.ibizlab.trainsys.core.common.service.IPhoneService iBzSysPhoneDefaultService; global cn.ibizlab.trainsys.core.common.service.IPhoneService iBzSysPhoneDefaultService;
global cn.ibizlab.trainsys.util.security.AuthenticationUser curuser; global cn.ibizlab.trainsys.util.security.AuthenticationUser curuser;
...@@ -32,6 +33,7 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxxa; ...@@ -32,6 +33,7 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxxa;
update(phonexxxacreateparam);//更新fact中变量值 update(phonexxxacreateparam);//更新fact中变量值
update(phonexxxasimplevar);//更新fact中变量值 update(phonexxxasimplevar);//更新fact中变量值
update(phonexxxasimplenum);//更新fact中变量值 update(phonexxxasimplenum);//更新fact中变量值
update(phonexxxaupdateparam);//更新fact中变量值
end end
//逻辑处理节点[准备参数] //逻辑处理节点[准备参数]
...@@ -44,6 +46,7 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxxa; ...@@ -44,6 +46,7 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxxa;
update(phonexxxacreateparam);//更新fact中变量值 update(phonexxxacreateparam);//更新fact中变量值
update(phonexxxasimplevar);//更新fact中变量值 update(phonexxxasimplevar);//更新fact中变量值
update(phonexxxasimplenum);//更新fact中变量值 update(phonexxxasimplenum);//更新fact中变量值
update(phonexxxaupdateparam);//更新fact中变量值
end end
//逻辑处理节点[实体行为] //逻辑处理节点[实体行为]
...@@ -56,6 +59,7 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxxa; ...@@ -56,6 +59,7 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxxa;
update(phonexxxacreateparam);//更新fact中变量值 update(phonexxxacreateparam);//更新fact中变量值
update(phonexxxasimplevar);//更新fact中变量值 update(phonexxxasimplevar);//更新fact中变量值
update(phonexxxasimplenum);//更新fact中变量值 update(phonexxxasimplenum);//更新fact中变量值
update(phonexxxaupdateparam);//更新fact中变量值
end end
//逻辑处理节点[外部接口调用] //逻辑处理节点[外部接口调用]
...@@ -67,6 +71,7 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxxa; ...@@ -67,6 +71,7 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxxa;
update(phonexxxacreateparam);//更新fact中变量值 update(phonexxxacreateparam);//更新fact中变量值
update(phonexxxasimplevar);//更新fact中变量值 update(phonexxxasimplevar);//更新fact中变量值
update(phonexxxasimplenum);//更新fact中变量值 update(phonexxxasimplenum);//更新fact中变量值
update(phonexxxaupdateparam);//更新fact中变量值
end end
//逻辑处理节点[绑定参数] //逻辑处理节点[绑定参数]
...@@ -78,6 +83,20 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxxa; ...@@ -78,6 +83,20 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxxa;
update(phonexxxacreateparam);//更新fact中变量值 update(phonexxxacreateparam);//更新fact中变量值
update(phonexxxasimplevar);//更新fact中变量值 update(phonexxxasimplevar);//更新fact中变量值
update(phonexxxasimplenum);//更新fact中变量值 update(phonexxxasimplenum);//更新fact中变量值
update(phonexxxaupdateparam);//更新fact中变量值
end
//逻辑处理节点[实体行为]
rule "deaction2"
ruleflow-group "phonexxxadeaction2"
when
then
phoneservice.update(phonexxxadefault);
update(phonexxxadefault);//更新fact中变量值
update(phonexxxacreateparam);//更新fact中变量值
update(phonexxxasimplevar);//更新fact中变量值
update(phonexxxasimplenum);//更新fact中变量值
update(phonexxxaupdateparam);//更新fact中变量值
end end
//逻辑处理节点[结束] //逻辑处理节点[结束]
...@@ -89,4 +108,5 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxxa; ...@@ -89,4 +108,5 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxxa;
update(phonexxxacreateparam);//更新fact中变量值 update(phonexxxacreateparam);//更新fact中变量值
update(phonexxxasimplevar);//更新fact中变量值 update(phonexxxasimplevar);//更新fact中变量值
update(phonexxxasimplenum);//更新fact中变量值 update(phonexxxasimplenum);//更新fact中变量值
update(phonexxxaupdateparam);//更新fact中变量值
end end
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册