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

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

上级 ce83e66f
...@@ -1726,6 +1726,38 @@ ...@@ -1726,6 +1726,38 @@
"valueFormat" : "%1$s", "valueFormat" : "%1$s",
"linkDEField" : true "linkDEField" : true
} ], } ],
"getAllPSDELogics" : [ {
"codeName" : "test",
"defaultParamName" : "Default",
"dynaModelFilePath" : "PSMODULES/common/PSDATAENTITIES/BXDMX/PSDELOGICS/test.json",
"logicName" : "test",
"name" : "test",
"getPSDELogicNodes" : [ {
"codeName" : "Begin",
"leftPos" : 200,
"logicNodeType" : "BEGIN",
"name" : "开始",
"topPos" : 200,
"parallelOutput" : true
} ],
"getPSDELogicParams" : [ {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"getParamPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/BXDMX.json"
},
"default" : true,
"entityParam" : true
} ],
"getStartPSDELogicNode" : {
"modelref" : true,
"id" : "Begin"
},
"enableBackend" : false,
"enableFront" : true
} ],
"getAllPSDEMethodDTOs" : [ { "getAllPSDEMethodDTOs" : [ {
"name" : "BXDMXDTO", "name" : "BXDMXDTO",
"getPSDEMethodDTOFields" : [ { "getPSDEMethodDTOFields" : [ {
......
{
"codeName" : "test",
"defaultParamName" : "Default",
"dynaModelFilePath" : "PSMODULES/common/PSDATAENTITIES/BXDMX/PSDELOGICS/test.json",
"logicName" : "test",
"name" : "test",
"getPSDELogicNodes" : [ {
"codeName" : "Begin",
"leftPos" : 200,
"logicNodeType" : "BEGIN",
"name" : "开始",
"topPos" : 200,
"parallelOutput" : true
} ],
"getPSDELogicParams" : [ {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"getParamPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/BXDMX.json"
},
"default" : true,
"entityParam" : true
} ],
"getStartPSDELogicNode" : {
"modelref" : true,
"id" : "Begin"
},
"enableBackend" : false,
"enableFront" : true
}
\ No newline at end of file
...@@ -2494,6 +2494,13 @@ ...@@ -2494,6 +2494,13 @@
} ], } ],
"topPos" : 200, "topPos" : 200,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "THROWEXCEPTION1",
"errorCode" : 0,
"leftPos" : 700,
"logicNodeType" : "THROWEXCEPTION",
"name" : "抛出异常",
"topPos" : 110
}, { }, {
"codeName" : "PREPAREPARAM1", "codeName" : "PREPAREPARAM1",
"leftPos" : 460, "leftPos" : 460,
...@@ -2509,6 +2516,32 @@ ...@@ -2509,6 +2516,32 @@
"modelref" : true, "modelref" : true,
"id" : "PREPAREPARAM1" "id" : "PREPAREPARAM1"
} }
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "THROWEXCEPTION1"
},
"name" : "error",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "EQ",
"dstFieldName" : "error",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Default"
},
"logicType" : "SINGLE",
"name" : "Default[error] 等于(=) 1",
"paramValue" : "1"
} ]
},
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "PREPAREPARAM1"
}
} ], } ],
"getPSDELogicNodeParams" : [ { "getPSDELogicNodeParams" : [ {
"dstFieldName" : "MONEY", "dstFieldName" : "MONEY",
...@@ -2580,7 +2613,7 @@ ...@@ -2580,7 +2613,7 @@
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "Default"
}, },
"topPos" : 469 "topPos" : 420
}, { }, {
"codeName" : "END1", "codeName" : "END1",
"leftPos" : 440, "leftPos" : 440,
......
...@@ -23,6 +23,13 @@ ...@@ -23,6 +23,13 @@
} ], } ],
"topPos" : 200, "topPos" : 200,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "THROWEXCEPTION1",
"errorCode" : 0,
"leftPos" : 700,
"logicNodeType" : "THROWEXCEPTION",
"name" : "抛出异常",
"topPos" : 110
}, { }, {
"codeName" : "PREPAREPARAM1", "codeName" : "PREPAREPARAM1",
"leftPos" : 460, "leftPos" : 460,
...@@ -38,6 +45,32 @@ ...@@ -38,6 +45,32 @@
"modelref" : true, "modelref" : true,
"id" : "PREPAREPARAM1" "id" : "PREPAREPARAM1"
} }
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "THROWEXCEPTION1"
},
"name" : "error",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "EQ",
"dstFieldName" : "error",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Default"
},
"logicType" : "SINGLE",
"name" : "Default[error] 等于(=) 1",
"paramValue" : "1"
} ]
},
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "PREPAREPARAM1"
}
} ], } ],
"getPSDELogicNodeParams" : [ { "getPSDELogicNodeParams" : [ {
"dstFieldName" : "MONEY", "dstFieldName" : "MONEY",
...@@ -109,7 +142,7 @@ ...@@ -109,7 +142,7 @@
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "Default"
}, },
"topPos" : 469 "topPos" : 420
}, { }, {
"codeName" : "END1", "codeName" : "END1",
"leftPos" : 440, "leftPos" : 440,
......
...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
<tns:global identifier="phonexxxdefault" type="cn.ibizlab.trainsys.core.common.domain.Phone" /> <tns:global identifier="phonexxxdefault" 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="phonexxxthrowexception1" id="throwexception1" implementation="http://www.jboss.org/drools/rule" name="抛出异常"/>
<endEvent id="throwexception1_end" name="end"/>
<sequenceFlow id="throwexception1_end_line" sourceRef="throwexception1" targetRef="throwexception1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="phonexxxprepareparam1" id="prepareparam1" implementation="http://www.jboss.org/drools/rule" name="准备参数"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="phonexxxprepareparam1" id="prepareparam1" implementation="http://www.jboss.org/drools/rule" name="准备参数"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="phonexxxsubsyssamethod1" id="subsyssamethod1" implementation="http://www.jboss.org/drools/rule" name="外部接口调用"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="phonexxxsubsyssamethod1" id="subsyssamethod1" 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="phonexxxbindparam1" id="bindparam1" implementation="http://www.jboss.org/drools/rule" name="绑定参数"/>
...@@ -23,9 +26,23 @@ ...@@ -23,9 +26,23 @@
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="prepareparam1_subsyssamethod1" sourceRef="prepareparam1" targetRef="subsyssamethod1"> <sequenceFlow id="prepareparam1_subsyssamethod1" sourceRef="prepareparam1" targetRef="subsyssamethod1">
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="gateway-prepareparam1_throwexception1" sourceRef="gateway-prepareparam1" targetRef="throwexception1">
<conditionExpression language="http://www.jboss.org/drools/rule" ><![CDATA[
$phonexxxdefault:Phone();
$phonexxxsimplevar:Map();
$phonexxxsimplenum:Map();
eval($phonexxxdefault==phonexxxdefault && );
eval((RuleUtils.test($phonexxxdefault.get("error"),"EQ","1")))
]]>
</conditionExpression>
</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>
<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="gateway-prepareparam1_end_line" sourceRef="gateway-prepareparam1" targetRef="gateway-prepareparam1_end"/>
<endEvent id="gateway-prepareparam1_end" name="end"/>
</process> </process>
</definitions> </definitions>
\ No newline at end of file
...@@ -21,6 +21,16 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxx; ...@@ -21,6 +21,16 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxx;
then then
end end
//逻辑处理节点[抛出异常]
rule "throwexception1"
ruleflow-group "phonexxxthrowexception1"
when
then
update(phonexxxdefault);//更新fact中变量值
update(phonexxxsimplevar);//更新fact中变量值
update(phonexxxsimplenum);//更新fact中变量值
end
//逻辑处理节点[准备参数] //逻辑处理节点[准备参数]
rule "prepareparam1" rule "prepareparam1"
ruleflow-group "phonexxxprepareparam1" ruleflow-group "phonexxxprepareparam1"
......
...@@ -791,6 +791,41 @@ ...@@ -791,6 +791,41 @@
"stdDataType" : 25, "stdDataType" : 25,
"stringLength" : 100 "stringLength" : 100
} ], } ],
"getAllPSAppDELogics" : [ {
"codeName" : "test",
"defaultParamName" : "Default",
"logicName" : "test",
"name" : "test",
"getPSDELogicNodes" : [ {
"codeName" : "Begin",
"leftPos" : 200,
"logicNodeType" : "BEGIN",
"name" : "开始",
"topPos" : 200,
"parallelOutput" : true
} ],
"getPSDELogicParams" : [ {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"getParamPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/BXDMX.json"
},
"getParamPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/BXDMX.json"
},
"default" : true,
"entityParam" : true
} ],
"getStartPSDELogicNode" : {
"modelref" : true,
"id" : "Begin"
},
"enableBackend" : false,
"enableFront" : true
} ],
"getAllPSAppDEMethodDTOs" : [ { "getAllPSAppDEMethodDTOs" : [ {
"codeName" : "BXDMXDTO", "codeName" : "BXDMXDTO",
"name" : "BXDMXDTO", "name" : "BXDMXDTO",
......
...@@ -791,6 +791,41 @@ ...@@ -791,6 +791,41 @@
"stdDataType" : 25, "stdDataType" : 25,
"stringLength" : 100 "stringLength" : 100
} ], } ],
"getAllPSAppDELogics" : [ {
"codeName" : "test",
"defaultParamName" : "Default",
"logicName" : "test",
"name" : "test",
"getPSDELogicNodes" : [ {
"codeName" : "Begin",
"leftPos" : 200,
"logicNodeType" : "BEGIN",
"name" : "开始",
"topPos" : 200,
"parallelOutput" : true
} ],
"getPSDELogicParams" : [ {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"getParamPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BXDMX.json"
},
"getParamPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/BXDMX.json"
},
"default" : true,
"entityParam" : true
} ],
"getStartPSDELogicNode" : {
"modelref" : true,
"id" : "Begin"
},
"enableBackend" : false,
"enableFront" : true
} ],
"getAllPSAppDEMethodDTOs" : [ { "getAllPSAppDEMethodDTOs" : [ {
"codeName" : "BXDMXDTO", "codeName" : "BXDMXDTO",
"name" : "BXDMXDTO", "name" : "BXDMXDTO",
......
...@@ -9749,16 +9749,16 @@ ...@@ -9749,16 +9749,16 @@
"id" : "ViewMsg4" "id" : "ViewMsg4"
} }
}, { }, {
"name" : "消息类型-错误信息", "name" : "消息类型-警告信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg6" "id" : "ViewMsg5"
} }
}, { }, {
"name" : "消息类型-警告信息", "name" : "消息类型-错误信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg5" "id" : "ViewMsg6"
} }
} ] } ]
}, { }, {
...@@ -9803,12 +9803,6 @@ ...@@ -9803,12 +9803,6 @@
"codeName" : "VMGroup8", "codeName" : "VMGroup8",
"name" : "【静态测试】", "name" : "【静态测试】",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "关闭模式-无删除-上方-常规",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg11"
}
}, {
"name" : "消息类型-常规信息", "name" : "消息类型-常规信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
...@@ -9816,10 +9810,10 @@ ...@@ -9816,10 +9810,10 @@
}, },
"position" : "POPUP" "position" : "POPUP"
}, { }, {
"name" : "关闭模式-默认删除-上方-错误", "name" : "关闭模式-无删除-上方-常规",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg12" "id" : "ViewMsg11"
} }
}, { }, {
"name" : "消息位置-视图内容区", "name" : "消息位置-视图内容区",
...@@ -9827,6 +9821,12 @@ ...@@ -9827,6 +9821,12 @@
"modelref" : true, "modelref" : true,
"id" : "ViewMsg9" "id" : "ViewMsg9"
} }
}, {
"name" : "关闭模式-默认删除-上方-错误",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg12"
}
}, { }, {
"name" : "消息位置-视图下方", "name" : "消息位置-视图下方",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
...@@ -38467,6 +38467,41 @@ ...@@ -38467,6 +38467,41 @@
"stdDataType" : 25, "stdDataType" : 25,
"stringLength" : 100 "stringLength" : 100
} ], } ],
"getAllPSAppDELogics" : [ {
"codeName" : "test",
"defaultParamName" : "Default",
"logicName" : "test",
"name" : "test",
"getPSDELogicNodes" : [ {
"codeName" : "Begin",
"leftPos" : 200,
"logicNodeType" : "BEGIN",
"name" : "开始",
"topPos" : 200,
"parallelOutput" : true
} ],
"getPSDELogicParams" : [ {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"getParamPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BXDMX.json"
},
"getParamPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/BXDMX.json"
},
"default" : true,
"entityParam" : true
} ],
"getStartPSDELogicNode" : {
"modelref" : true,
"id" : "Begin"
},
"enableBackend" : false,
"enableFront" : true
} ],
"getAllPSAppDEMethodDTOs" : [ { "getAllPSAppDEMethodDTOs" : [ {
"codeName" : "BXDMXDTO", "codeName" : "BXDMXDTO",
"name" : "BXDMXDTO", "name" : "BXDMXDTO",
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册