Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
211ee766
提交
211ee766
编写于
9月 10, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lengyuace 发布系统代码 [TrainSys,网页端]
上级
298a73a4
变更
4
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
64 行增加
和
41 行删除
+64
-41
Phone.json
...izlab/trainsys/PSMODULES/common/PSDATAENTITIES/Phone.json
+25
-19
xxx.json
...PSMODULES/common/PSDATAENTITIES/Phone/PSDELOGICS/xxx.json
+25
-19
xxx.json.bpmn
...ULES/common/PSDATAENTITIES/Phone/PSDELOGICS/xxx.json.bpmn
+4
-1
xxx.json.drl
...DULES/common/PSDATAENTITIES/Phone/PSDELOGICS/xxx.json.drl
+10
-2
未找到文件。
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/common/PSDATAENTITIES/Phone.json
浏览文件 @
211ee766
...
@@ -2501,7 +2501,7 @@
...
@@ -2501,7 +2501,7 @@
"getPSDELogicLinks"
:
[
{
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"
END
1"
"id"
:
"
BINDPARAM
1"
},
},
"name"
:
"连接名称"
,
"name"
:
"连接名称"
,
"getSrcPSDELogicNode"
:
{
"getSrcPSDELogicNode"
:
{
...
@@ -2519,28 +2519,34 @@
...
@@ -2519,28 +2519,34 @@
"paramAction"
:
"SETPARAMVALUE"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcValue"
:
"1111"
,
"srcValue"
:
"1111"
,
"srcValueType"
:
"SRCVALUE"
"srcValueType"
:
"SRCVALUE"
}
],
"topPos"
:
350
},
{
},
{
"dstFieldName"
:
"aaa
"
,
"codeName"
:
"BINDPARAM1
"
,
"getDstPSDELogicParam"
:
{
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"simpleVar"
"id"
:
"simpleVar"
},
},
"name"
:
"直接值[bbbb] ==> simple[aaa]"
,
"leftPos"
:
420
,
"paramAction"
:
"SETPARAMVALUE"
,
"logicNodeType"
:
"BINDPARAM"
,
"srcValue"
:
"bbbb"
,
"name"
:
"绑定参数"
,
"srcValueType"
:
"SRCVALUE"
"getPSDELogicLinks"
:
[
{
},
{
"getDstPSDELogicNode"
:
{
"dstFieldName"
:
"bbb"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"
simplenum
"
"id"
:
"
END1
"
},
},
"name"
:
"直接值[[111,555,999]] ==> simplenum[bbb]"
,
"name"
:
"连接名称"
,
"paramAction"
:
"SETPARAMVALUE"
,
"getSrcPSDELogicNode"
:
{
"srcValue"
:
"[111,555,999]"
,
"modelref"
:
true
,
"srcValueType"
:
"SRCVALUE"
"id"
:
"BINDPARAM1"
}
}
],
}
],
"topPos"
:
350
"srcFieldName"
:
"MONEY"
,
"getSrcPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"topPos"
:
469
},
{
},
{
"codeName"
:
"END1"
,
"codeName"
:
"END1"
,
"leftPos"
:
440
,
"leftPos"
:
440
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/common/PSDATAENTITIES/Phone/PSDELOGICS/xxx.json
浏览文件 @
211ee766
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
"getPSDELogicLinks"
:
[
{
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"
END
1"
"id"
:
"
BINDPARAM
1"
},
},
"name"
:
"连接名称"
,
"name"
:
"连接名称"
,
"getSrcPSDELogicNode"
:
{
"getSrcPSDELogicNode"
:
{
...
@@ -48,28 +48,34 @@
...
@@ -48,28 +48,34 @@
"paramAction"
:
"SETPARAMVALUE"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcValue"
:
"1111"
,
"srcValue"
:
"1111"
,
"srcValueType"
:
"SRCVALUE"
"srcValueType"
:
"SRCVALUE"
}
],
"topPos"
:
350
},
{
},
{
"dstFieldName"
:
"aaa
"
,
"codeName"
:
"BINDPARAM1
"
,
"getDstPSDELogicParam"
:
{
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"simpleVar"
"id"
:
"simpleVar"
},
},
"name"
:
"直接值[bbbb] ==> simple[aaa]"
,
"leftPos"
:
420
,
"paramAction"
:
"SETPARAMVALUE"
,
"logicNodeType"
:
"BINDPARAM"
,
"srcValue"
:
"bbbb"
,
"name"
:
"绑定参数"
,
"srcValueType"
:
"SRCVALUE"
"getPSDELogicLinks"
:
[
{
},
{
"getDstPSDELogicNode"
:
{
"dstFieldName"
:
"bbb"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"
simplenum
"
"id"
:
"
END1
"
},
},
"name"
:
"直接值[[111,555,999]] ==> simplenum[bbb]"
,
"name"
:
"连接名称"
,
"paramAction"
:
"SETPARAMVALUE"
,
"getSrcPSDELogicNode"
:
{
"srcValue"
:
"[111,555,999]"
,
"modelref"
:
true
,
"srcValueType"
:
"SRCVALUE"
"id"
:
"BINDPARAM1"
}
}
],
}
],
"topPos"
:
350
"srcFieldName"
:
"MONEY"
,
"getSrcPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"topPos"
:
469
},
{
},
{
"codeName"
:
"END1"
,
"codeName"
:
"END1"
,
"leftPos"
:
440
,
"leftPos"
:
440
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/common/PSDATAENTITIES/Phone/PSDELOGICS/xxx.json.bpmn
浏览文件 @
211ee766
...
@@ -14,12 +14,15 @@
...
@@ -14,12 +14,15 @@
</extensionElements>
</extensionElements>
<startEvent
id=
"begin"
isInterrupting=
"true"
/>
<startEvent
id=
"begin"
isInterrupting=
"true"
/>
<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=
"phonexxxbindparam1"
id=
"bindparam1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"绑定参数"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"phonexxxend1"
id=
"end1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"结束"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"phonexxxend1"
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"
/>
<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
id=
"prepareparam1_bindparam1"
sourceRef=
"prepareparam1"
targetRef=
"bindparam1"
>
</sequenceFlow>
<sequenceFlow
id=
"bindparam1_end1"
sourceRef=
"bindparam1"
targetRef=
"end1"
>
</sequenceFlow>
</sequenceFlow>
</process>
</process>
</definitions>
</definitions>
\ No newline at end of file
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/common/PSDATAENTITIES/Phone/PSDELOGICS/xxx.json.drl
浏览文件 @
211ee766
...
@@ -27,8 +27,16 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxx;
...
@@ -27,8 +27,16 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxx;
when
when
then
then
phonexxxdefault
.
set
(
"money"
,
"1111"
);
phonexxxdefault
.
set
(
"money"
,
"1111"
);
phonexxxsimplevar
.
set
(
"aaa"
,
"bbbb"
);
update
(
phonexxxdefault
);//
更新
fact
中变量值
phonexxxsimplenum
.
set
(
"bbb"
,
"[111,555,999]"
);
update
(
phonexxxsimplevar
);//
更新
fact
中变量值
update
(
phonexxxsimplenum
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
绑定参数
]
rule
"bindparam1"
ruleflow
-
group
"phonexxxbindparam1"
when
then
update
(
phonexxxdefault
);//
更新
fact
中变量值
update
(
phonexxxdefault
);//
更新
fact
中变量值
update
(
phonexxxsimplevar
);//
更新
fact
中变量值
update
(
phonexxxsimplevar
);//
更新
fact
中变量值
update
(
phonexxxsimplenum
);//
更新
fact
中变量值
update
(
phonexxxsimplenum
);//
更新
fact
中变量值
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录