Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
20c0c424
提交
20c0c424
编写于
1月 16, 2024
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lengyuace 发布系统代码 [TrainSys,网页端]
上级
47908b40
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
114 行增加
和
4 行删除
+114
-4
Phone.json
...izlab/trainsys/PSMODULES/common/PSDATAENTITIES/Phone.json
+43
-1
xxxA.json
...SMODULES/common/PSDATAENTITIES/Phone/PSDELOGICS/xxxA.json
+43
-1
xxxA.json.bpmn
...LES/common/PSDATAENTITIES/Phone/PSDELOGICS/xxxA.json.bpmn
+8
-2
xxxA.json.drl
...ULES/common/PSDATAENTITIES/Phone/PSDELOGICS/xxxA.json.drl
+20
-0
未找到文件。
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/common/PSDATAENTITIES/Phone.json
浏览文件 @
20c0c424
...
@@ -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
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/common/PSDATAENTITIES/Phone/PSDELOGICS/xxxA.json
浏览文件 @
20c0c424
...
@@ -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
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/common/PSDATAENTITIES/Phone/PSDELOGICS/xxxA.json.bpmn
浏览文件 @
20c0c424
...
@@ -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>
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/common/PSDATAENTITIES/Phone/PSDELOGICS/xxxA.json.drl
浏览文件 @
20c0c424
...
@@ -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
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录