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

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

上级 76a029a2
......@@ -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" : [ {
......
{
"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
<?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
{
"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
<?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
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
......@@ -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
} ],
......
......@@ -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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册