87 lines
16 KiB
XML
87 lines
16 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><definitions xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:fgc="http://www.forguncy.com/schema/bpmn/1.0" xmlns:activiti="http://activiti.org/bpmn" id="_f0891378-904d-4a7a-9433-88bd2bac0c55" name="BPMN Model" targetNamespace="http://www.forguncy.com/schema/bpmn/1.0" expressionLanguage="https://www.ecma-international.org/publications/standards/Ecma-334.htm">
|
|
<extension/>
|
|
<process id="_f676c4bd-eedd-4876-8c5c-a63eeaab8533" name="预算申请" isExecutable="true">
|
|
<documentation/>
|
|
<extensionElements>
|
|
<fgc:ForguncyExtension Properties="{"variableSetting":{"variables":[{"name":"校验结果","initialValue":{"valueType":1,"fixedValue":"0"}}]},"eventSetting":{"eventHandlers":[{"id":"0","event":100,"commands":[]},{"id":"1","event":101,"commands":[{"$type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon","serverCommandName":"批准项目预算申请","isAsync":false,"inputParams":[{"key":"申请ID","value":{"valueType":2,"tableFieldValue":{"TableName":"项目预算变动表","ColumnName":"ID","GUID":"2de3fd11-7cd9-441a-91dc-73cf0ce856ca"}}},{"key":"状态","value":{"valueType":1,"fixedValue":"已完成"}}],"returnCodeTo":"","returnMessageTo":"","returnPropertiesTo":[],"$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","id":"1709628275862-d7f4ccfa","enable":true}]},{"id":"2","event":102,"commands":[{"$type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon","serverCommandName":"批准项目预算申请","isAsync":true,"inputParams":[{"key":"申请ID","value":{"valueType":2,"tableFieldValue":{"TableName":"项目预算变动表","ColumnName":"ID","GUID":"7f03a668-10d3-4ff7-891a-6c63ea20af9f"}}},{"key":"状态","value":{"valueType":1,"fixedValue":"已取消"}}],"returnCodeTo":"","returnMessageTo":"","returnPropertiesTo":[],"$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","id":"1709622015574-c0a9f0b8","enable":true}]}]},"timeoutSetting":{"deadlines":[]},"page":"预算申请审批","tables":["项目预算变动表"]}"/>
|
|
</extensionElements>
|
|
<startEvent id="_f08335ab-b838-4a55-8421-200f30047003" name="开始">
|
|
<extensionElements>
|
|
<fgc:ForguncyExtension Properties="{"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":401,"commands":[]}]},"variableSetting":{"variables":[]}}"/>
|
|
</extensionElements>
|
|
<outgoing>Flow_1y1g7g4</outgoing>
|
|
</startEvent>
|
|
<userTask id="_1f754255-6fd9-4eab-8d0f-10df7976e222" name="审批" activiti:formKey="${formKeyResolver.getFormKey(execution)}" activiti:assignee="${FGC_activitiAssignee}">
|
|
<extensionElements>
|
|
<fgc:ForguncyExtension Properties="{"generalSetting":{"page":"预算申请审批","tables":["项目预算变动表"],"actions":[{"key":"0","type":100,"title":"同意","enable":true,"condition":"{\"$type\":\"ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess\",\"SubConditions\":[{\"$type\":\"ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess\",\"SubConditions\":[{\"$type\":\"Forguncy.Model.IfCondition, ServerDesignerCommon\",\"param\":{\"$type\":\"Forguncy.Model.IfConditionProcessTableDataParam, ServerDesignerCommon\",\"BindingInfo\":{\"TableName\":\"项目预算变动表\",\"ColumnName\":\"增加工时\",\"GUID\":\"e209e711-be95-45e2-b7df-00aca9079c40\",\"AttachType\":null,\"RelationBinding\":null},\"ParamDisplay\":\"[项目预算变动表.增加工时]\",\"IfConditionParamType\":5},\"value\":\"0\",\"compareType\":2,\"LeftBracket\":1,\"RightBracket\":0,\"OriginalConditionDispay\":\"{0} 大于 {1}\"},{\"$type\":\"Forguncy.Model.IfCondition, ServerDesignerCommon\",\"param\":{\"$type\":\"Forguncy.Model.IfConditionProcessTableDataParam, ServerDesignerCommon\",\"BindingInfo\":{\"TableName\":\"项目预算变动表\",\"ColumnName\":\"增加费用\",\"GUID\":\"69acc543-d69a-4934-9948-b91b2180d25c\",\"AttachType\":null,\"RelationBinding\":null},\"ParamDisplay\":\"[项目预算变动表.增加费用]\",\"IfConditionParamType\":5},\"value\":\"0\",\"compareType\":2,\"LeftBracket\":0,\"RightBracket\":1,\"OriginalConditionDispay\":\"{0} 大于 {1}\"}],\"RelationType\":1},{\"$type\":\"Forguncy.Model.IfCondition, ServerDesignerCommon\",\"param\":{\"$type\":\"Forguncy.Model.IfConditionProcessTableDataParam, ServerDesignerCommon\",\"BindingInfo\":{\"TableName\":\"项目预算变动表\",\"ColumnName\":\"申请人\",\"GUID\":\"d2e49202-1520-49a0-b38c-9d66ebba286e\",\"AttachType\":null,\"RelationBinding\":null},\"ParamDisplay\":\"[项目预算变动表.申请人]\",\"IfConditionParamType\":5},\"value\":\"%Null%\",\"compareType\":1,\"LeftBracket\":0,\"RightBracket\":0,\"OriginalConditionDispay\":\"{0} 不等于 {1}\"}],\"RelationType\":0}","remarks":[{"enable":true,"key":1,"required":false},{"enable":false,"key":2,"required":false}],"commitOption":{"autoSave":false}},{"key":"1644290578551-fb1cce84","type":200,"title":"拒绝","enable":true,"remarks":[{"enable":true,"key":1,"required":true},{"enable":false,"key":2,"required":false}],"terminateOption":{"type":2}}]},"userSetting":{"assigneeSettings":[{"type":2,"value":{"valueType":1,"fixedValue":"项目总监"},"enable":true}],"assigneeTarget":2,"isMultiple":true,"isCountersign":false,"isSequential":false,"autoCommitStrategies":[{"status":1,"enable":false},{"status":2,"enable":true},{"status":3,"enable":false}],"nobodyAssignStrategy":{"status":1}},"dataSetting":{"tablePermissions":[]},"timeoutSetting":{"deadlines":[]},"eventSetting":{"eventHandlers":[{"id":"0","event":400,"commands":[{"$type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon","serverCommandName":"修改增补工时状态","isAsync":false,"inputParams":[{"key":"申请ID","value":{"valueType":2,"tableFieldValue":{"TableName":"项目预算变动表","ColumnName":"ID","GUID":"68ceb174-fae7-42a2-bbaa-6fba151e39e5"}}},{"key":"状态","value":{"valueType":1,"fixedValue":"审批中"}}],"returnCodeTo":"","returnMessageTo":"","returnPropertiesTo":[],"$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","id":"1709619258361-d74c5e6d","enable":true}]},{"id":"1","event":300,"commands":[]},{"id":"2","event":302,"commands":[]},{"id":"1709621893732-6e730361","event":401,"commands":[]}]}}"/>
|
|
</extensionElements>
|
|
<incoming>Flow_1mecf6x</incoming>
|
|
<outgoing>Flow_10prhsv</outgoing>
|
|
<multiInstanceLoopCharacteristics activiti:collection="${userTaskResolver.getCollection(execution)}" activiti:elementVariable="FGC_activitiAssignee"><completionCondition>${nrOfCompletedInstances > 0}</completionCondition></multiInstanceLoopCharacteristics>
|
|
</userTask>
|
|
<endEvent id="_3392ccdd-ae91-44fa-b2ee-f744284c12b0" name="结束">
|
|
<extensionElements>
|
|
<fgc:ForguncyExtension Properties="{"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":400,"commands":[]}]},"variableSetting":{"variables":[]}}"/>
|
|
</extensionElements>
|
|
<incoming>Flow_10prhsv</incoming>
|
|
</endEvent>
|
|
<sequenceFlow id="Flow_1y1g7g4" sourceRef="_f08335ab-b838-4a55-8421-200f30047003" targetRef="Activity_01hsguw">
|
|
<extensionElements>
|
|
<fgc:ForguncyExtension Properties="{"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":200,"commands":[]}]},"sequenceProperty":{}}"/>
|
|
</extensionElements>
|
|
</sequenceFlow>
|
|
<userTask id="Activity_01hsguw" name="填写" activiti:formKey="${formKeyResolver.getFormKey(execution)}" activiti:assignee="${FGC_activitiAssignee}">
|
|
<extensionElements>
|
|
<fgc:ForguncyExtension Properties="{"generalSetting":{"page":"预算申请","tables":["项目预算变动表"],"actions":[{"key":"100","type":100,"title":"提交","enable":true,"remarks":[{"key":1,"enable":false,"required":false},{"key":2,"enable":false,"required":false}],"commitOption":{"autoSave":true}}]},"userSetting":{"assigneeSettings":[{"type":1,"value":{"valueType":1,"fixedValue":"%Process.Starter%"},"enable":true,"key":"1709627633666-6e46f4db"}],"assigneeTarget":2,"isMultiple":true,"isCountersign":false,"isSequential":false,"autoCommitStrategies":[{"status":1,"enable":false},{"status":2,"enable":false},{"status":3,"enable":false}],"nobodyAssignStrategy":{"status":2}},"dataSetting":{"tablePermissions":[]},"timeoutSetting":{"deadlines":[]},"eventSetting":{"eventHandlers":[{"id":"0","event":400,"commands":[]},{"id":"1","event":300,"commands":[]},{"id":"2","event":302,"commands":[]}]},"variableSetting":{"variables":[]}}"/>
|
|
</extensionElements>
|
|
<incoming>Flow_1y1g7g4</incoming>
|
|
<outgoing>Flow_1mecf6x</outgoing>
|
|
<multiInstanceLoopCharacteristics activiti:collection="${userTaskResolver.getCollection(execution)}" activiti:elementVariable="FGC_activitiAssignee"><completionCondition>${nrOfCompletedInstances > 0}</completionCondition></multiInstanceLoopCharacteristics>
|
|
</userTask>
|
|
<sequenceFlow id="Flow_1mecf6x" sourceRef="Activity_01hsguw" targetRef="_1f754255-6fd9-4eab-8d0f-10df7976e222">
|
|
<extensionElements>
|
|
<fgc:ForguncyExtension Properties="{"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":200,"commands":[]}]},"sequenceProperty":{}}"/>
|
|
</extensionElements>
|
|
</sequenceFlow>
|
|
<sequenceFlow id="Flow_10prhsv" sourceRef="_1f754255-6fd9-4eab-8d0f-10df7976e222" targetRef="_3392ccdd-ae91-44fa-b2ee-f744284c12b0">
|
|
<extensionElements>
|
|
<fgc:ForguncyExtension Properties="{"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":200,"commands":[]}]},"sequenceProperty":{}}"/>
|
|
</extensionElements>
|
|
</sequenceFlow>
|
|
</process>
|
|
<BPMNDiagram xmlns="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:color="http://www.omg.org/spec/BPMN/non-normative/color/1.0" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="_bc75e97d-3718-40b3-954c-1093a5051bd0" name="" resolution="96">
|
|
<BPMNPlane bpmnElement="_f676c4bd-eedd-4876-8c5c-a63eeaab8533">
|
|
<BPMNEdge id="Flow_10prhsv_di" bpmnElement="Flow_10prhsv" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
|
|
<di:waypoint x="190" y="20"/>
|
|
<di:waypoint x="300" y="20"/>
|
|
</BPMNEdge>
|
|
<BPMNEdge id="Flow_1mecf6x_di" bpmnElement="Flow_1mecf6x" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
|
|
<di:waypoint x="-30" y="20"/>
|
|
<di:waypoint x="70" y="20"/>
|
|
</BPMNEdge>
|
|
<BPMNEdge id="Flow_1y1g7g4_di" bpmnElement="Flow_1y1g7g4" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
|
|
<di:waypoint x="-260" y="20"/>
|
|
<di:waypoint x="-150" y="20"/>
|
|
</BPMNEdge>
|
|
<BPMNShape id="_77a930b7-a08f-48be-9e93-2006953ed6ad" bpmnElement="_f08335ab-b838-4a55-8421-200f30047003" isHorizontal="false" isExpanded="false" isMarkerVisible="false" isMessageVisible="false">
|
|
<Bounds xmlns="http://www.omg.org/spec/DD/20100524/DC" x="-300" y="0" width="40" height="40"/>
|
|
<BPMNLabel>
|
|
<dc:Bounds x="-293" y="47" width="27" height="16"/>
|
|
</BPMNLabel>
|
|
</BPMNShape>
|
|
<BPMNShape id="_2bf92c2b-1b3d-4815-b6c9-f696d0b501a1" bpmnElement="_1f754255-6fd9-4eab-8d0f-10df7976e222" isHorizontal="false" isExpanded="false" isMarkerVisible="false" isMessageVisible="false">
|
|
<Bounds xmlns="http://www.omg.org/spec/DD/20100524/DC" x="70" y="0" width="120" height="40"/>
|
|
</BPMNShape>
|
|
<BPMNShape id="_dffb7850-c3b4-4469-b322-8af82e48919d" bpmnElement="_3392ccdd-ae91-44fa-b2ee-f744284c12b0" isHorizontal="false" isExpanded="false" isMarkerVisible="false" isMessageVisible="false">
|
|
<Bounds xmlns="http://www.omg.org/spec/DD/20100524/DC" x="300" y="0" width="40" height="40"/>
|
|
<BPMNLabel>
|
|
<dc:Bounds x="307" y="47" width="27" height="16"/>
|
|
</BPMNLabel>
|
|
</BPMNShape>
|
|
<BPMNShape id="Activity_01hsguw_di" bpmnElement="Activity_01hsguw">
|
|
<dc:Bounds x="-150" y="0" width="120" height="40"/>
|
|
<BPMNLabel/>
|
|
</BPMNShape>
|
|
</BPMNPlane>
|
|
</BPMNDiagram>
|
|
</definitions> |