Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
ab128b5d
提交
ab128b5d
编写于
10月 19, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lengyuace 发布系统代码 [TrainSys,网页端]
上级
ce83e66f
变更
9
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
276 行增加
和
14 行删除
+276
-14
BXDMX.json
...izlab/trainsys/PSMODULES/common/PSDATAENTITIES/BXDMX.json
+32
-0
test.json
...SMODULES/common/PSDATAENTITIES/BXDMX/PSDELOGICS/test.json
+32
-0
Phone.json
...izlab/trainsys/PSMODULES/common/PSDATAENTITIES/Phone.json
+34
-1
xxx.json
...PSMODULES/common/PSDATAENTITIES/Phone/PSDELOGICS/xxx.json
+34
-1
xxx.json.bpmn
...ULES/common/PSDATAENTITIES/Phone/PSDELOGICS/xxx.json.bpmn
+17
-0
xxx.json.drl
...DULES/common/PSDATAENTITIES/Phone/PSDELOGICS/xxx.json.drl
+10
-0
BXDMX.json
...ys/PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/BXDMX.json
+35
-0
BXDMX.json
...izlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/BXDMX.json
+35
-0
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+47
-12
未找到文件。
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/common/PSDATAENTITIES/BXDMX.json
浏览文件 @
ab128b5d
...
...
@@ -1726,6 +1726,38 @@
"valueFormat"
:
"%1$s"
,
"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"
:
[
{
"name"
:
"BXDMXDTO"
,
"getPSDEMethodDTOFields"
:
[
{
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/common/PSDATAENTITIES/BXDMX/PSDELOGICS/test.json
0 → 100644
浏览文件 @
ab128b5d
{
"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
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/common/PSDATAENTITIES/Phone.json
浏览文件 @
ab128b5d
...
...
@@ -2494,6 +2494,13 @@
}
],
"topPos"
:
200
,
"parallelOutput"
:
true
},
{
"codeName"
:
"THROWEXCEPTION1"
,
"errorCode"
:
0
,
"leftPos"
:
700
,
"logicNodeType"
:
"THROWEXCEPTION"
,
"name"
:
"抛出异常"
,
"topPos"
:
110
},
{
"codeName"
:
"PREPAREPARAM1"
,
"leftPos"
:
460
,
...
...
@@ -2509,6 +2516,32 @@
"modelref"
:
true
,
"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"
:
[
{
"dstFieldName"
:
"MONEY"
,
...
...
@@ -2580,7 +2613,7 @@
"modelref"
:
true
,
"id"
:
"Default"
},
"topPos"
:
4
69
"topPos"
:
4
20
},
{
"codeName"
:
"END1"
,
"leftPos"
:
440
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/common/PSDATAENTITIES/Phone/PSDELOGICS/xxx.json
浏览文件 @
ab128b5d
...
...
@@ -23,6 +23,13 @@
}
],
"topPos"
:
200
,
"parallelOutput"
:
true
},
{
"codeName"
:
"THROWEXCEPTION1"
,
"errorCode"
:
0
,
"leftPos"
:
700
,
"logicNodeType"
:
"THROWEXCEPTION"
,
"name"
:
"抛出异常"
,
"topPos"
:
110
},
{
"codeName"
:
"PREPAREPARAM1"
,
"leftPos"
:
460
,
...
...
@@ -38,6 +45,32 @@
"modelref"
:
true
,
"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"
:
[
{
"dstFieldName"
:
"MONEY"
,
...
...
@@ -109,7 +142,7 @@
"modelref"
:
true
,
"id"
:
"Default"
},
"topPos"
:
4
69
"topPos"
:
4
20
},
{
"codeName"
:
"END1"
,
"leftPos"
:
440
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/common/PSDATAENTITIES/Phone/PSDELOGICS/xxx.json.bpmn
浏览文件 @
ab128b5d
...
...
@@ -13,6 +13,9 @@
<tns:global
identifier=
"phonexxxdefault"
type=
"cn.ibizlab.trainsys.core.common.domain.Phone"
/>
</extensionElements>
<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=
"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=
"绑定参数"
/>
...
...
@@ -23,9 +26,23 @@
</sequenceFlow>
<sequenceFlow
id=
"prepareparam1_subsyssamethod1"
sourceRef=
"prepareparam1"
targetRef=
"subsyssamethod1"
>
</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>
<sequenceFlow
id=
"bindparam1_end1"
sourceRef=
"bindparam1"
targetRef=
"end1"
>
</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>
</definitions>
\ No newline at end of file
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/common/PSDATAENTITIES/Phone/PSDELOGICS/xxx.json.drl
浏览文件 @
ab128b5d
...
...
@@ -21,6 +21,16 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxx;
then
end
//
逻辑处理节点
[
抛出异常
]
rule
"throwexception1"
ruleflow
-
group
"phonexxxthrowexception1"
when
then
update
(
phonexxxdefault
);//
更新
fact
中变量值
update
(
phonexxxsimplevar
);//
更新
fact
中变量值
update
(
phonexxxsimplenum
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
准备参数
]
rule
"prepareparam1"
ruleflow
-
group
"phonexxxprepareparam1"
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/BXDMX.json
浏览文件 @
ab128b5d
...
...
@@ -791,6 +791,41 @@
"stdDataType"
:
25
,
"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"
:
[
{
"codeName"
:
"BXDMXDTO"
,
"name"
:
"BXDMXDTO"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/BXDMX.json
浏览文件 @
ab128b5d
...
...
@@ -791,6 +791,41 @@
"stdDataType"
:
25
,
"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"
:
[
{
"codeName"
:
"BXDMXDTO"
,
"name"
:
"BXDMXDTO"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
ab128b5d
...
...
@@ -9749,16 +9749,16 @@
"id" : "ViewMsg4"
}
}, {
"name" : "消息类型-
错误
信息",
"name" : "消息类型-
警告
信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg
6
"
"id" : "ViewMsg
5
"
}
}, {
"name" : "消息类型-
警告
信息",
"name" : "消息类型-
错误
信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg
5
"
"id" : "ViewMsg
6
"
}
} ]
}, {
...
...
@@ -9803,12 +9803,6 @@
"codeName" : "VMGroup8",
"name" : "【静态测试】",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "关闭模式-无删除-上方-常规",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg11"
}
}, {
"name" : "消息类型-常规信息",
"getPSAppViewMsg" : {
"modelref" : true,
...
...
@@ -9816,10 +9810,10 @@
},
"position" : "POPUP"
}, {
"name" : "关闭模式-
默认删除-上方-错误
",
"name" : "关闭模式-
无删除-上方-常规
",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg1
2
"
"id" : "ViewMsg1
1
"
}
}, {
"name" : "消息位置-视图内容区",
...
...
@@ -9827,6 +9821,12 @@
"modelref" : true,
"id" : "ViewMsg9"
}
}, {
"name" : "关闭模式-默认删除-上方-错误",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg12"
}
}, {
"name" : "消息位置-视图下方",
"getPSAppViewMsg" : {
...
...
@@ -38467,6 +38467,41 @@
"stdDataType" : 25,
"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" : [ {
"codeName" : "BXDMXDTO",
"name" : "BXDMXDTO",
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录