Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
cea6a8d5
提交
cea6a8d5
编写于
6月 29, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lengyuace 发布系统代码 [TrainSys,网页端]
上级
76a029a2
变更
8
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
281 行增加
和
0 行删除
+281
-0
SysEmployee.json
...trainsys/PSMODULES/common/PSDATAENTITIES/SysEmployee.json
+79
-0
TEST.json
...S/common/PSDATAENTITIES/SysEmployee/PSDEACTIONS/TEST.json
+30
-0
TEST.json.exec.bpmn
...SDATAENTITIES/SysEmployee/PSDEACTIONS/TEST.json.exec.bpmn
+15
-0
TEST.json
...ES/common/PSDATAENTITIES/SysEmployee/PSDELOGICS/TEST.json
+50
-0
TEST.json.bpmn
...mmon/PSDATAENTITIES/SysEmployee/PSDELOGICS/TEST.json.bpmn
+20
-0
TEST.json.drl
...ommon/PSDATAENTITIES/SysEmployee/PSDELOGICS/TEST.json.drl
+28
-0
iBizRTClient.json
...cn/ibizlab/trainsys/PSSUBSYSSERVICEAPIS/iBizRTClient.json
+30
-0
TrainSys.json
.../model/cn/ibizlab/trainsys/PSSYSSERVICEAPIS/TrainSys.json
+29
-0
未找到文件。
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/common/PSDATAENTITIES/SysEmployee.json
浏览文件 @
cea6a8d5
...
...
@@ -201,6 +201,35 @@
"id"
:
"Save"
},
"builtinAction"
:
true
},
{
"actionHolder"
:
1
,
"actionMode"
:
"CUSTOM"
,
"actionType"
:
"DELOGIC"
,
"codeName"
:
"TEST"
,
"dynaModelFilePath"
:
"PSMODULES/common/PSDATAENTITIES/SysEmployee/PSDEACTIONS/TEST.json"
,
"logicName"
:
"行为"
,
"name"
:
"TEST"
,
"getPSDEActionInput"
:
{
"name"
:
"TESTInput"
,
"getPSDEMethodDTO"
:
{
"modelref"
:
true
,
"id"
:
"SysEmployeeDTO"
},
"type"
:
"DTO"
},
"getPSDEActionReturn"
:
{
"name"
:
"TESTResult"
,
"type"
:
"VOID"
},
"getPSDELogic"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/common/PSDATAENTITIES/SysEmployee/PSDELOGICS/TEST.json"
},
"getPSSubSysServiceAPIDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"TEST"
},
"enableFront"
:
false
}
],
"getAllPSDEDBConfigs"
:
[
{
"dBType"
:
"MYSQL5"
,
...
...
@@ -745,6 +774,56 @@
"allowEmpty"
:
false
,
"systemReserver"
:
true
}
],
"getAllPSDELogics"
:
[
{
"codeName"
:
"TEST"
,
"defaultParamName"
:
"Default"
,
"dynaModelFilePath"
:
"PSMODULES/common/PSDATAENTITIES/SysEmployee/PSDELOGICS/TEST.json"
,
"logicName"
:
"TEST"
,
"name"
:
"TEST"
,
"getPSDELogicNodes"
:
[
{
"codeName"
:
"Begin"
,
"leftPos"
:
200
,
"logicNodeType"
:
"BEGIN"
,
"name"
:
"开始"
,
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"END1"
},
"name"
:
"连接名称"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Begin"
}
}
],
"topPos"
:
200
,
"parallelOutput"
:
true
},
{
"codeName"
:
"END1"
,
"leftPos"
:
530
,
"logicNodeType"
:
"END"
,
"name"
:
"结束"
,
"returnType"
:
"NONEVALUE"
,
"topPos"
:
260
}
],
"getPSDELogicParams"
:
[
{
"codeName"
:
"Default"
,
"logicName"
:
"传入变量"
,
"name"
:
"传入变量"
,
"getParamPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/common/PSDATAENTITIES/SysEmployee.json"
},
"default"
:
true
,
"entityParam"
:
true
}
],
"getStartPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Begin"
},
"enableBackend"
:
true
,
"enableFront"
:
false
}
],
"getAllPSDEMethodDTOs"
:
[
{
"name"
:
"SysEmployeeDTO"
,
"getPSDEMethodDTOFields"
:
[
{
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/common/PSDATAENTITIES/SysEmployee/PSDEACTIONS/TEST.json
0 → 100644
浏览文件 @
cea6a8d5
{
"actionHolder"
:
1
,
"actionMode"
:
"CUSTOM"
,
"actionType"
:
"DELOGIC"
,
"codeName"
:
"TEST"
,
"dynaModelFilePath"
:
"PSMODULES/common/PSDATAENTITIES/SysEmployee/PSDEACTIONS/TEST.json"
,
"logicName"
:
"行为"
,
"name"
:
"TEST"
,
"getPSDEActionInput"
:
{
"name"
:
"TESTInput"
,
"getPSDEMethodDTO"
:
{
"modelref"
:
true
,
"id"
:
"SysEmployeeDTO"
},
"type"
:
"DTO"
},
"getPSDEActionReturn"
:
{
"name"
:
"TESTResult"
,
"type"
:
"VOID"
},
"getPSDELogic"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/common/PSDATAENTITIES/SysEmployee/PSDELOGICS/TEST.json"
},
"getPSSubSysServiceAPIDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"TEST"
},
"enableFront"
:
false
}
\ No newline at end of file
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/common/PSDATAENTITIES/SysEmployee/PSDEACTIONS/TEST.json.exec.bpmn
0 → 100644
浏览文件 @
cea6a8d5
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions
xmlns=
"http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:activiti=
"http://activiti.org/bpmn"
xmlns:bpmndi=
"http://www.omg.org/spec/BPMN/20100524/DI"
xmlns:dc=
"http://www.omg.org/spec/DD/20100524/DC"
xmlns:di=
"http://www.omg.org/spec/DD/20100524/DI"
xmlns:g=
"http://www.jboss.org/drools/flow/gpd"
xmlns:tns=
"http://www.jboss.org/drools"
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
expressionLanguage=
"http://www.mvel.org/2.0"
id=
"Definition"
name=
""
targetNamespace=
"http://www.jboss.org/drools"
typeLanguage=
"http://www.java.com/javaTypes"
>
<process
id=
"cn.ibizlab.trainsys.core.extensions.service.logic.execute"
isClosed=
"false"
isExecutable=
"true"
name=
"common_sysemployee_test_execLogic"
processType=
"Private"
tns:packageName=
"cn.ibizlab.trainsys.core.extensions.service.logic.execute"
>
<extensionElements>
<tns:import
name=
"java.util.Map"
/>
<tns:import
name=
"org.springframework.util.StringUtils"
/>
<tns:import
name=
"cn.ibizlab.trainsys.util.helper.RuleUtils"
/>
</extensionElements>
<startEvent
id=
"begin"
isInterrupting=
"true"
/>
<endEvent
id=
"prepareparam1_end"
name=
"end"
/>
<callActivity
activiti:exclusive=
"true"
calledElement=
"cn.ibizlab.trainsys.core.common.service.logic.sysemployeetest"
id=
"TEST"
name=
"TEST.json.bpmn"
/>
<sequenceFlow
id=
"begin_TEST"
sourceRef=
"begin"
targetRef=
"TEST"
/>
<sequenceFlow
id=
"TEST_TEST"
sourceRef=
"TEST"
targetRef=
"prepareparam1_end"
/>
</process>
</definitions>
\ No newline at end of file
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/common/PSDATAENTITIES/SysEmployee/PSDELOGICS/TEST.json
0 → 100644
浏览文件 @
cea6a8d5
{
"codeName"
:
"TEST"
,
"defaultParamName"
:
"Default"
,
"dynaModelFilePath"
:
"PSMODULES/common/PSDATAENTITIES/SysEmployee/PSDELOGICS/TEST.json"
,
"logicName"
:
"TEST"
,
"name"
:
"TEST"
,
"getPSDELogicNodes"
:
[
{
"codeName"
:
"Begin"
,
"leftPos"
:
200
,
"logicNodeType"
:
"BEGIN"
,
"name"
:
"开始"
,
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"END1"
},
"name"
:
"连接名称"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Begin"
}
}
],
"topPos"
:
200
,
"parallelOutput"
:
true
},
{
"codeName"
:
"END1"
,
"leftPos"
:
530
,
"logicNodeType"
:
"END"
,
"name"
:
"结束"
,
"returnType"
:
"NONEVALUE"
,
"topPos"
:
260
}
],
"getPSDELogicParams"
:
[
{
"codeName"
:
"Default"
,
"logicName"
:
"传入变量"
,
"name"
:
"传入变量"
,
"getParamPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/common/PSDATAENTITIES/SysEmployee.json"
},
"default"
:
true
,
"entityParam"
:
true
}
],
"getStartPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Begin"
},
"enableBackend"
:
true
,
"enableFront"
:
false
}
\ No newline at end of file
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/common/PSDATAENTITIES/SysEmployee/PSDELOGICS/TEST.json.bpmn
0 → 100644
浏览文件 @
cea6a8d5
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions
xmlns=
"http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:activiti=
"http://activiti.org/bpmn"
xmlns:bpmndi=
"http://www.omg.org/spec/BPMN/20100524/DI"
xmlns:dc=
"http://www.omg.org/spec/DD/20100524/DC"
xmlns:di=
"http://www.omg.org/spec/DD/20100524/DI"
xmlns:g=
"http://www.jboss.org/drools/flow/gpd"
xmlns:tns=
"http://www.jboss.org/drools"
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
expressionLanguage=
"http://www.mvel.org/2.0"
id=
"Definition"
name=
""
targetNamespace=
"http://www.jboss.org/drools"
typeLanguage=
"http://www.java.com/javaTypes"
>
<process
id=
"cn.ibizlab.trainsys.core.common.service.logic.sysemployeetest"
isClosed=
"false"
isExecutable=
"true"
name=
"common_sysemployee_test_ruleFlow"
processType=
"Private"
tns:packageName=
"cn.ibizlab.trainsys.core.common.service.logic.sysemployeetest"
>
<extensionElements>
<tns:import
name=
"java.util.Map"
/>
<tns:import
name=
"org.springframework.util.StringUtils"
/>
<tns:import
name=
"cn.ibizlab.trainsys.util.helper.RuleUtils"
/>
<tns:metaData
express=
""
name=
"sysemployeetestdefault"
type=
"entity"
/>
<tns:metaData
express=
"T(cn.ibizlab.trainsys.util.security.SpringContextHolder).getBean(T(cn.ibizlab.trainsys.core.common.service.ISysEmployeeService))"
name=
"iBzSysSysemployeeDefaultService"
type=
"service"
/>
<tns:metaData
express=
"T(cn.ibizlab.trainsys.util.security.AuthenticationUser).getAuthenticationUser()"
name=
"curuser"
type=
"session"
/>
<tns:global
identifier=
"sysemployeetestdefault"
type=
"cn.ibizlab.trainsys.core.common.domain.SysEmployee"
/>
</extensionElements>
<startEvent
id=
"begin"
isInterrupting=
"true"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"sysemployeetestend1"
id=
"end1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"结束"
/>
<endEvent
id=
"end1_end"
name=
"end"
/>
<sequenceFlow
id=
"end1_end_line"
sourceRef=
"end1"
targetRef=
"end1_end"
/>
<sequenceFlow
id=
"begin_end1"
sourceRef=
"begin"
targetRef=
"end1"
>
</sequenceFlow>
</process>
</definitions>
\ No newline at end of file
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/common/PSDATAENTITIES/SysEmployee/PSDELOGICS/TEST.json.drl
0 → 100644
浏览文件 @
cea6a8d5
package
cn
.
ibizlab
.
trainsys
.
common
.
logic
.
sysemployeelogic
.
test
;
import
java
.
util
.
Map
;
import
java
.
util
.
HashMap
;
import
com
.
alibaba
.
fastjson
.
JSONObject
;
import
org
.
springframework
.
util
.
StringUtils
;
import
org
.
springframework
.
util
.
ObjectUtils
;
import
cn
.
ibizlab
.
trainsys
.
util
.
errors
.
BadRequestAlertException
;
global
cn
.
ibizlab
.
trainsys
.
core
.
common
.
domain
.
SysEmployee
sysemployeetestdefault
;
global
cn
.
ibizlab
.
trainsys
.
core
.
common
.
service
.
ISysEmployeeService
iBzSysSysemployeeDefaultService
;
global
cn
.
ibizlab
.
trainsys
.
util
.
security
.
AuthenticationUser
curuser
;
no
-
loop
//
逻辑处理节点
[
开始
]
rule
"begin"
ruleflow
-
group
"sysemployeetestbegin"
when
then
end
//
逻辑处理节点
[
结束
]
rule
"end1"
ruleflow
-
group
"sysemployeetestend1"
when
then
update
(
sysemployeetestdefault
);//
更新
fact
中变量值
end
\ No newline at end of file
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSUBSYSSERVICEAPIS/iBizRTClient.json
浏览文件 @
cea6a8d5
...
...
@@ -325,6 +325,36 @@
"requestField"
:
"SYS_EMPID"
,
"requestMethod"
:
"POST"
,
"uniqueTag"
:
"SYS_EMP__SELECT"
},
{
"actionType"
:
"DEACTION"
,
"codeName"
:
"TEST"
,
"keyField"
:
"SYS_EMPID"
,
"methodType"
:
"DEACTION"
,
"name"
:
"TEST"
,
"getPSDECodeName"
:
"SysEmployee"
,
"getPSDELogicName"
:
"人员信息"
,
"getPSDEName"
:
"SYS_EMP"
,
"getPSSubSysServiceAPIDE"
:
{
"modelref"
:
true
,
"id"
:
"SysEmployee"
},
"getPSSubSysServiceAPIMethodInput"
:
{
"name"
:
"输入对象"
,
"getPSSubSysServiceAPIDTO"
:
{
"modelref"
:
true
,
"id"
:
"SysEmployeeDTO"
},
"type"
:
"DTO"
},
"getPSSubSysServiceAPIMethodReturn"
:
{
"name"
:
"返回对象"
,
"type"
:
"VOID"
},
"requestField"
:
"SYS_EMPID"
,
"requestMethod"
:
"POST"
,
"requestParamType"
:
"ENTITY"
,
"uniqueTag"
:
"SYS_EMP__DEACTION__TEST"
,
"needResourceKey"
:
true
}
],
"major"
:
true
}
],
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSSERVICEAPIS/TrainSys.json
浏览文件 @
cea6a8d5
...
...
@@ -2252,6 +2252,35 @@
"requestPath"
:
"/save"
,
"uniqueTag"
:
"SYSEMPLOYEE__DEACTION__SAVE"
,
"needResourceKey"
:
true
},
{
"codeName"
:
"TEST"
,
"methodType"
:
"DEACTION"
,
"name"
:
"TEST"
,
"getPSDEAction"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/common/PSDATAENTITIES/SysEmployee/PSDEACTIONS/TEST.json"
},
"getPSDEServiceAPIMethodInput"
:
{
"name"
:
"输入对象"
,
"getPSDEMethodDTO"
:
{
"modelref"
:
true
,
"id"
:
"SysEmployeeDTO"
},
"type"
:
"DTO"
},
"getPSDEServiceAPIMethodReturn"
:
{
"name"
:
"返回对象"
,
"type"
:
"VOID"
},
"getPSSubSysServiceAPIDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"TEST"
},
"requestMethod"
:
"POST"
,
"requestParamType"
:
"ENTITY"
,
"requestPath"
:
"/test"
,
"uniqueTag"
:
"SYSEMPLOYEE__DEACTION__TEST"
,
"needResourceKey"
:
true
},
{
"codeName"
:
"FetchDefault"
,
"dataAccessAction"
:
"READ"
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录