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

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

上级 03f18f4d
......@@ -263,6 +263,31 @@
"type" : "VOID"
},
"builtinAction" : true
}, {
"actionHolder" : 1,
"actionMode" : "CUSTOM",
"actionType" : "DELOGIC",
"codeName" : "Test1",
"dynaModelFilePath" : "PSMODULES/common/PSDATAENTITIES/Book/PSDEACTIONS/Test1.json",
"logicName" : "行为2",
"name" : "test1",
"getPSDEActionInput" : {
"name" : "Test1Input",
"getPSDEMethodDTO" : {
"modelref" : true,
"id" : "BookDTO"
},
"type" : "DTO"
},
"getPSDEActionReturn" : {
"name" : "Test1Result",
"type" : "VOID"
},
"getPSDELogic" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/Book/PSDELOGICS/test1.json"
},
"enableFront" : false
} ],
"getAllPSDEDBConfigs" : [ {
"dBType" : "MYSQL5",
......@@ -6018,6 +6043,64 @@
"customCode" : true,
"enableBackend" : false,
"enableFront" : true
}, {
"codeName" : "test1",
"defaultParamName" : "Default",
"dynaModelFilePath" : "PSMODULES/common/PSDATAENTITIES/Book/PSDELOGICS/test1.json",
"logicName" : "test1",
"name" : "test1",
"getPSDELogicNodes" : [ {
"codeName" : "Begin",
"leftPos" : 200,
"logicNodeType" : "BEGIN",
"name" : "开始",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "PREPAREPARAM1"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Begin"
}
} ],
"topPos" : 200,
"parallelOutput" : true
}, {
"codeName" : "PREPAREPARAM1",
"leftPos" : 440,
"logicNodeType" : "PREPAREPARAM",
"name" : "准备参数",
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "TYPE",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "空值(NULL) ==> Default[TYPE]",
"paramAction" : "SETPARAMVALUE",
"srcValueType" : "NULLVALUE"
} ],
"topPos" : 330
} ],
"getPSDELogicParams" : [ {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"getParamPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/Book.json"
},
"default" : true,
"entityParam" : true
} ],
"getStartPSDELogicNode" : {
"modelref" : true,
"id" : "Begin"
},
"enableBackend" : true,
"enableFront" : false
} ],
"getAllPSDEMainStates" : [ {
"codeName" : "A",
......
{
"actionHolder" : 1,
"actionMode" : "CUSTOM",
"actionType" : "DELOGIC",
"codeName" : "Test1",
"dynaModelFilePath" : "PSMODULES/common/PSDATAENTITIES/Book/PSDEACTIONS/Test1.json",
"logicName" : "行为2",
"name" : "test1",
"getPSDEActionInput" : {
"name" : "Test1Input",
"getPSDEMethodDTO" : {
"modelref" : true,
"id" : "BookDTO"
},
"type" : "DTO"
},
"getPSDEActionReturn" : {
"name" : "Test1Result",
"type" : "VOID"
},
"getPSDELogic" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/Book/PSDELOGICS/test1.json"
},
"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_book_test1_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.booktest1" id="test1" name="test1.json.bpmn"/>
<sequenceFlow id="begin_test1" sourceRef="begin" targetRef="test1"/>
<sequenceFlow id="test1_test1" sourceRef="test1" targetRef="prepareparam1_end"/>
</process>
</definitions>
\ No newline at end of file
{
"codeName" : "test1",
"defaultParamName" : "Default",
"dynaModelFilePath" : "PSMODULES/common/PSDATAENTITIES/Book/PSDELOGICS/test1.json",
"logicName" : "test1",
"name" : "test1",
"getPSDELogicNodes" : [ {
"codeName" : "Begin",
"leftPos" : 200,
"logicNodeType" : "BEGIN",
"name" : "开始",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "PREPAREPARAM1"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Begin"
}
} ],
"topPos" : 200,
"parallelOutput" : true
}, {
"codeName" : "PREPAREPARAM1",
"leftPos" : 440,
"logicNodeType" : "PREPAREPARAM",
"name" : "准备参数",
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "TYPE",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "空值(NULL) ==> Default[TYPE]",
"paramAction" : "SETPARAMVALUE",
"srcValueType" : "NULLVALUE"
} ],
"topPos" : 330
} ],
"getPSDELogicParams" : [ {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"getParamPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/Book.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.booktest1" isClosed="false" isExecutable="true" name="common_book_test1_ruleFlow" processType="Private" tns:packageName="cn.ibizlab.trainsys.core.common.service.logic.booktest1">
<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="booktest1default" type="entity"/>
<tns:metaData express="T(cn.ibizlab.trainsys.util.security.SpringContextHolder).getBean(T(cn.ibizlab.trainsys.core.common.service.IBookService))" name="iBzSysBookDefaultService" type="service"/>
<tns:metaData express="T(cn.ibizlab.trainsys.util.security.AuthenticationUser).getAuthenticationUser()" name="curuser" type="session"/>
<tns:global identifier="booktest1default" type="cn.ibizlab.trainsys.core.common.domain.Book" />
</extensionElements>
<startEvent id="begin" isInterrupting="true"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="booktest1prepareparam1" id="prepareparam1" implementation="http://www.jboss.org/drools/rule" name="准备参数"/>
<endEvent id="prepareparam1_end" name="end"/>
<sequenceFlow id="prepareparam1_end_line" sourceRef="prepareparam1" targetRef="prepareparam1_end"/>
<sequenceFlow id="begin_prepareparam1" sourceRef="begin" targetRef="prepareparam1">
</sequenceFlow>
</process>
</definitions>
\ No newline at end of file
package cn.ibizlab.trainsys.common.logic.booklogic.test1;
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.Book booktest1default;
global cn.ibizlab.trainsys.core.common.service.IBookService iBzSysBookDefaultService;
global cn.ibizlab.trainsys.util.security.AuthenticationUser curuser;
no-loop
//逻辑处理节点[开始]
rule "begin"
ruleflow-group "booktest1begin"
when
then
end
//逻辑处理节点[准备参数]
rule "prepareparam1"
ruleflow-group "booktest1prepareparam1"
when
then
booktest1default.set("type",null);
update(booktest1default);//更新fact中变量值
end
\ No newline at end of file
......@@ -521,6 +521,37 @@
"requestPath" : "/save",
"builtinMethod" : false,
"needResourceKey" : true
}, {
"actionMode" : "CUSTOM",
"actionName" : "test1",
"codeName" : "Test1",
"methodType" : "DEACTION",
"name" : "Test1",
"getPSAppDEMethodInput" : {
"name" : "输入对象",
"getPSAppDEMethodDTO" : {
"modelref" : true,
"id" : "BookDTO"
},
"type" : "DTO"
},
"getPSAppDEMethodReturn" : {
"name" : "返回对象",
"type" : "VOID"
},
"getPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/Book/PSDEACTIONS/Test1.json"
},
"getPSDEServiceAPIMethod" : {
"modelref" : true,
"id" : "Test1"
},
"requestMethod" : "POST",
"requestParamType" : "ENTITY",
"requestPath" : "/test1",
"builtinMethod" : false,
"needResourceKey" : true
}, {
"actionMode" : "UPDATE",
"codeName" : "Update",
......@@ -4160,6 +4191,37 @@
"requestPath" : "/save",
"builtinMethod" : false,
"needResourceKey" : true
}, {
"actionMode" : "CUSTOM",
"actionName" : "test1",
"codeName" : "Test1",
"methodType" : "DEACTION",
"name" : "Test1",
"getPSAppDEMethodInput" : {
"name" : "输入对象",
"getPSAppDEMethodDTO" : {
"modelref" : true,
"id" : "BookDTO"
},
"type" : "DTO"
},
"getPSAppDEMethodReturn" : {
"name" : "返回对象",
"type" : "VOID"
},
"getPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/Book/PSDEACTIONS/Test1.json"
},
"getPSDEServiceAPIMethod" : {
"modelref" : true,
"id" : "Test1"
},
"requestMethod" : "POST",
"requestParamType" : "ENTITY",
"requestPath" : "/test1",
"builtinMethod" : false,
"needResourceKey" : true
}, {
"actionMode" : "UPDATE",
"codeName" : "Update",
......
......@@ -521,6 +521,37 @@
"requestPath" : "/save",
"builtinMethod" : false,
"needResourceKey" : true
}, {
"actionMode" : "CUSTOM",
"actionName" : "test1",
"codeName" : "Test1",
"methodType" : "DEACTION",
"name" : "Test1",
"getPSAppDEMethodInput" : {
"name" : "输入对象",
"getPSAppDEMethodDTO" : {
"modelref" : true,
"id" : "BookDTO"
},
"type" : "DTO"
},
"getPSAppDEMethodReturn" : {
"name" : "返回对象",
"type" : "VOID"
},
"getPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/Book/PSDEACTIONS/Test1.json"
},
"getPSDEServiceAPIMethod" : {
"modelref" : true,
"id" : "Test1"
},
"requestMethod" : "POST",
"requestParamType" : "ENTITY",
"requestPath" : "/test1",
"builtinMethod" : false,
"needResourceKey" : true
}, {
"actionMode" : "UPDATE",
"codeName" : "Update",
......@@ -4160,6 +4191,37 @@
"requestPath" : "/save",
"builtinMethod" : false,
"needResourceKey" : true
}, {
"actionMode" : "CUSTOM",
"actionName" : "test1",
"codeName" : "Test1",
"methodType" : "DEACTION",
"name" : "Test1",
"getPSAppDEMethodInput" : {
"name" : "输入对象",
"getPSAppDEMethodDTO" : {
"modelref" : true,
"id" : "BookDTO"
},
"type" : "DTO"
},
"getPSAppDEMethodReturn" : {
"name" : "返回对象",
"type" : "VOID"
},
"getPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/Book/PSDEACTIONS/Test1.json"
},
"getPSDEServiceAPIMethod" : {
"modelref" : true,
"id" : "Test1"
},
"requestMethod" : "POST",
"requestParamType" : "ENTITY",
"requestPath" : "/test1",
"builtinMethod" : false,
"needResourceKey" : true
}, {
"actionMode" : "UPDATE",
"codeName" : "Update",
......
......@@ -521,6 +521,37 @@
"requestPath" : "/save",
"builtinMethod" : false,
"needResourceKey" : true
}, {
"actionMode" : "CUSTOM",
"actionName" : "test1",
"codeName" : "Test1",
"methodType" : "DEACTION",
"name" : "Test1",
"getPSAppDEMethodInput" : {
"name" : "输入对象",
"getPSAppDEMethodDTO" : {
"modelref" : true,
"id" : "BookDTO"
},
"type" : "DTO"
},
"getPSAppDEMethodReturn" : {
"name" : "返回对象",
"type" : "VOID"
},
"getPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/Book/PSDEACTIONS/Test1.json"
},
"getPSDEServiceAPIMethod" : {
"modelref" : true,
"id" : "Test1"
},
"requestMethod" : "POST",
"requestParamType" : "ENTITY",
"requestPath" : "/test1",
"builtinMethod" : false,
"needResourceKey" : true
}, {
"actionMode" : "UPDATE",
"codeName" : "Update",
......@@ -4160,6 +4191,37 @@
"requestPath" : "/save",
"builtinMethod" : false,
"needResourceKey" : true
}, {
"actionMode" : "CUSTOM",
"actionName" : "test1",
"codeName" : "Test1",
"methodType" : "DEACTION",
"name" : "Test1",
"getPSAppDEMethodInput" : {
"name" : "输入对象",
"getPSAppDEMethodDTO" : {
"modelref" : true,
"id" : "BookDTO"
},
"type" : "DTO"
},
"getPSAppDEMethodReturn" : {
"name" : "返回对象",
"type" : "VOID"
},
"getPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/Book/PSDEACTIONS/Test1.json"
},
"getPSDEServiceAPIMethod" : {
"modelref" : true,
"id" : "Test1"
},
"requestMethod" : "POST",
"requestParamType" : "ENTITY",
"requestPath" : "/test1",
"builtinMethod" : false,
"needResourceKey" : true
}, {
"actionMode" : "UPDATE",
"codeName" : "Update",
......
......@@ -68,6 +68,14 @@
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"getPSDEFormItemUpdates" : [ {
"codeName" : "test1",
"name" : "test1",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Test1"
}
} ],
"getPSDEFormItems" : [ {
"id" : "srfupdatedate",
"hidden" : true,
......@@ -343,6 +351,10 @@
"name" : "TYPE",
"codeName" : "Type"
},
"getPSDEFormItemUpdate" : {
"modelref" : true,
"id" : "test1"
},
"getPSEditor" : {
"editorType" : "RADIOBUTTONLIST",
"name" : "type",
......
......@@ -652,6 +652,14 @@
"showBusyIndicator" : true,
"id" : "FORM"
},
"getPSDEFormItemUpdates" : [ {
"codeName" : "test1",
"name" : "test1",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Test1"
}
} ],
"getPSDEFormItems" : [ {
"id" : "srfupdatedate",
"hidden" : true,
......@@ -927,6 +935,10 @@
"name" : "TYPE",
"codeName" : "Type"
},
"getPSDEFormItemUpdate" : {
"modelref" : true,
"id" : "test1"
},
"getPSEditor" : {
"editorType" : "RADIOBUTTONLIST",
"name" : "type",
......
......@@ -2080,6 +2080,14 @@
"showBusyIndicator" : true,
"id" : "FORM1"
},
"getPSDEFormItemUpdates" : [ {
"codeName" : "test1",
"name" : "test1",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Test1"
}
} ],
"getPSDEFormItems" : [ {
"id" : "srfupdatedate",
"hidden" : true,
......@@ -2355,6 +2363,10 @@
"name" : "TYPE",
"codeName" : "Type"
},
"getPSDEFormItemUpdate" : {
"modelref" : true,
"id" : "test1"
},
"getPSEditor" : {
"editorType" : "RADIOBUTTONLIST",
"name" : "type",
......
......@@ -49601,6 +49601,37 @@
"requestPath" : "/save",
"builtinMethod" : false,
"needResourceKey" : true
}, {
"actionMode" : "CUSTOM",
"actionName" : "test1",
"codeName" : "Test1",
"methodType" : "DEACTION",
"name" : "Test1",
"getPSAppDEMethodInput" : {
"name" : "输入对象",
"getPSAppDEMethodDTO" : {
"modelref" : true,
"id" : "BookDTO"
},
"type" : "DTO"
},
"getPSAppDEMethodReturn" : {
"name" : "返回对象",
"type" : "VOID"
},
"getPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/Book/PSDEACTIONS/Test1.json"
},
"getPSDEServiceAPIMethod" : {
"modelref" : true,
"id" : "Test1"
},
"requestMethod" : "POST",
"requestParamType" : "ENTITY",
"requestPath" : "/test1",
"builtinMethod" : false,
"needResourceKey" : true
}, {
"actionMode" : "UPDATE",
"codeName" : "Update",
......@@ -53240,6 +53271,37 @@
"requestPath" : "/save",
"builtinMethod" : false,
"needResourceKey" : true
}, {
"actionMode" : "CUSTOM",
"actionName" : "test1",
"codeName" : "Test1",
"methodType" : "DEACTION",
"name" : "Test1",
"getPSAppDEMethodInput" : {
"name" : "输入对象",
"getPSAppDEMethodDTO" : {
"modelref" : true,
"id" : "BookDTO"
},
"type" : "DTO"
},
"getPSAppDEMethodReturn" : {
"name" : "返回对象",
"type" : "VOID"
},
"getPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/Book/PSDEACTIONS/Test1.json"
},
"getPSDEServiceAPIMethod" : {
"modelref" : true,
"id" : "Test1"
},
"requestMethod" : "POST",
"requestParamType" : "ENTITY",
"requestPath" : "/test1",
"builtinMethod" : false,
"needResourceKey" : true
}, {
"actionMode" : "UPDATE",
"codeName" : "Update",
......@@ -11302,6 +11302,31 @@
"requestPath" : "/save",
"uniqueTag" : "BOOK__DEACTION__SAVE",
"needResourceKey" : true
}, {
"codeName" : "Test1",
"methodType" : "DEACTION",
"name" : "Test1",
"getPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/common/PSDATAENTITIES/Book/PSDEACTIONS/Test1.json"
},
"getPSDEServiceAPIMethodInput" : {
"name" : "输入对象",
"getPSDEMethodDTO" : {
"modelref" : true,
"id" : "BookDTO"
},
"type" : "DTO"
},
"getPSDEServiceAPIMethodReturn" : {
"name" : "返回对象",
"type" : "VOID"
},
"requestMethod" : "POST",
"requestParamType" : "ENTITY",
"requestPath" : "/test1",
"uniqueTag" : "BOOK__DEACTION__TEST1",
"needResourceKey" : true
}, {
"codeName" : "FetchDefault",
"dataAccessAction" : "READ",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册