Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
b695bff4
Commit
b695bff4
authored
Apr 24, 2019
by
eddie.woo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpmn
parent
91a4b126
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
8 deletions
+50
-8
WorkflowController.java
.../java/pwc/taxtech/atms/controller/WorkflowController.java
+16
-0
WorkflowService.java
...n/java/pwc/taxtech/atms/service/impl/WorkflowService.java
+19
-0
approval.bpmn
atms-api/src/main/resources/bpmn/approval.bpmn
+15
-8
No files found.
atms-api/src/main/java/pwc/taxtech/atms/controller/WorkflowController.java
0 → 100644
View file @
b695bff4
package
pwc
.
taxtech
.
atms
.
controller
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
pwc.taxtech.atms.service.impl.WorkflowService
;
@RestController
@RequestMapping
(
"/api/v1/workflow/"
)
public
class
WorkflowController
extends
BaseController
{
@Autowired
private
WorkflowService
workflowService
;
}
atms-api/src/main/java/pwc/taxtech/atms/service/impl/WorkflowService.java
0 → 100644
View file @
b695bff4
package
pwc
.
taxtech
.
atms
.
service
.
impl
;
import
org.springframework.stereotype.Service
;
import
pwc.taxtech.atms.dao.WfRecordDetailMapper
;
import
pwc.taxtech.atms.dao.WfRecordMapper
;
import
javax.annotation.Resource
;
@Service
public
class
WorkflowService
extends
BaseService
{
@Resource
private
WfRecordMapper
wfRecordMapper
;
@Resource
private
WfRecordDetailMapper
wfRecordDetailMapper
;
}
atms-api/src/main/resources/bpmn/approval.bpmn
View file @
b695bff4
...
...
@@ -2,7 +2,7 @@
<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:tns=
"http://www.activiti.org/testm1539848247913"
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
expressionLanguage=
"http://www.w3.org/1999/XPath"
id=
"m1539848247913"
name=
""
targetNamespace=
"http://www.activiti.org/testm1539848247913"
typeLanguage=
"http://www.w3.org/2001/XMLSchema"
>
<process
id=
"approvalProcess"
isClosed=
"false"
isExecutable=
"true"
name=
"ApprovalProcess"
processType=
"None"
>
<startEvent
id=
"_2"
name=
"StartEvent"
/>
<userTask
activiti:assignee=
"accountant"
activiti:exclusive=
"true"
id=
"_3"
name=
"税务会计"
/>
<userTask
activiti:assignee=
"accountant"
activiti:
candidateGroups=
"role1,role2,role3"
activiti:
exclusive=
"true"
id=
"_3"
name=
"税务会计"
/>
<sequenceFlow
id=
"_4"
sourceRef=
"_2"
targetRef=
"_3"
/>
<userTask
activiti:assignee=
"manager"
activiti:exclusive=
"true"
id=
"_5"
name=
"税务经理"
/>
<endEvent
id=
"_7"
name=
"EndEvent"
/>
...
...
@@ -23,6 +23,7 @@
<sequenceFlow
id=
"_16"
name=
"已提交"
sourceRef=
"_11"
targetRef=
"_9"
>
<conditionExpression
xsi:type=
"tFormalExpression"
>
<![CDATA[${committed==1}]]>
</conditionExpression>
</sequenceFlow>
<serviceTask
activiti:exclusive=
"true"
id=
"_6"
name=
"ServiceTask"
/>
</process>
<bpmndi:BPMNDiagram
documentation=
"background=#FFFFFF;count=1;horizontalcount=1;orientation=0;width=842.4;height=1195.2;imageableWidth=832.4;imageableHeight=1185.2;imageableX=5.0;imageableY=5.0"
id=
"Diagram-_1"
name=
"New Diagram"
>
<bpmndi:BPMNPlane
bpmnElement=
"approvalProcess"
>
...
...
@@ -68,50 +69,56 @@
<dc:Bounds
height=
"32.0"
width=
"32.0"
x=
"0.0"
y=
"0.0"
/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape
bpmnElement=
"_6"
id=
"Shape-_6"
>
<dc:Bounds
height=
"55.0"
width=
"85.0"
x=
"255.0"
y=
"145.0"
/>
<bpmndi:BPMNLabel>
<dc:Bounds
height=
"55.0"
width=
"85.0"
x=
"0.0"
y=
"0.0"
/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge
bpmnElement=
"_13"
id=
"BPMNEdge__13"
sourceElement=
"_5"
targetElement=
"_12"
>
<di:waypoint
x=
"
510
.0"
y=
"192.5"
/>
<di:waypoint
x=
"
495
.0"
y=
"192.5"
/>
<di:waypoint
x=
"640.0"
y=
"191.0"
/>
<bpmndi:BPMNLabel>
<dc:Bounds
height=
"0.0"
width=
"0.0"
x=
"0.0"
y=
"0.0"
/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"_15"
id=
"BPMNEdge__15"
sourceElement=
"_11"
targetElement=
"_5"
>
<di:waypoint
x=
"456.0"
y=
"3
65
.0"
/>
<di:waypoint
x=
"456.0"
y=
"3
80
.0"
/>
<di:waypoint
x=
"456.0"
y=
"220.0"
/>
<bpmndi:BPMNLabel>
<dc:Bounds
height=
"0.0"
width=
"0.0"
x=
"0.0"
y=
"0.0"
/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"_14"
id=
"BPMNEdge__14"
sourceElement=
"_3"
targetElement=
"_11"
>
<di:waypoint
x=
"2
90
.0"
y=
"397.5"
/>
<di:waypoint
x=
"2
75
.0"
y=
"397.5"
/>
<di:waypoint
x=
"440.0"
y=
"396.0"
/>
<bpmndi:BPMNLabel>
<dc:Bounds
height=
"0.0"
width=
"0.0"
x=
"0.0"
y=
"0.0"
/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"_16"
id=
"BPMNEdge__16"
sourceElement=
"_11"
targetElement=
"_9"
>
<di:waypoint
x=
"4
87
.0"
y=
"396.0"
/>
<di:waypoint
x=
"4
72
.0"
y=
"396.0"
/>
<di:waypoint
x=
"760.0"
y=
"396.0"
/>
<bpmndi:BPMNLabel>
<dc:Bounds
height=
"0.0"
width=
"0.0"
x=
"0.0"
y=
"0.0"
/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"_4"
id=
"BPMNEdge__4"
sourceElement=
"_2"
targetElement=
"_3"
>
<di:waypoint
x=
"
97
.0"
y=
"396.0"
/>
<di:waypoint
x=
"
82
.0"
y=
"396.0"
/>
<di:waypoint
x=
"190.0"
y=
"397.5"
/>
<bpmndi:BPMNLabel>
<dc:Bounds
height=
"0.0"
width=
"0.0"
x=
"0.0"
y=
"0.0"
/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"_8"
id=
"BPMNEdge__8"
sourceElement=
"_12"
targetElement=
"_7"
>
<di:waypoint
x=
"6
87
.0"
y=
"191.0"
/>
<di:waypoint
x=
"6
72
.0"
y=
"191.0"
/>
<di:waypoint
x=
"765.0"
y=
"121.0"
/>
<bpmndi:BPMNLabel>
<dc:Bounds
height=
"0.0"
width=
"0.0"
x=
"0.0"
y=
"0.0"
/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"_10"
id=
"BPMNEdge__10"
sourceElement=
"_12"
targetElement=
"_9"
>
<di:waypoint
x=
"6
87
.0"
y=
"191.0"
/>
<di:waypoint
x=
"6
72
.0"
y=
"191.0"
/>
<di:waypoint
x=
"760.0"
y=
"396.0"
/>
<bpmndi:BPMNLabel>
<dc:Bounds
height=
"0.0"
width=
"0.0"
x=
"0.0"
y=
"0.0"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment