Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hel-developer-guide
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Spencer Chang
hel-developer-guide
Commits
70630432
Commit
70630432
authored
Jul 31, 2017
by
custom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates 后端开发/activiti_demo.md
Auto commit by GitBook Editor
parent
38c4accf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
activiti_demo.md
后端开发/activiti_demo.md
+4
-2
No files found.
后端开发/activiti_demo.md
View file @
70630432
...
...
@@ -59,10 +59,12 @@ public String getWorkFlowType() { return workFlowType; }
@Override
public
void
process
(
IRequest
iRequest
,
List
list
,
Map
params
)
{
ProcessInstanceCreateRequest
processInstanceCreateRequest
=
getProcessInstanceCreateRequest
((
PrjProject
)
list
.
get
(
0
),
iRequest
);
activitiService
.
startProcess
(
iRequest
,
processInstanceCreateRequest
);
ProcessInstanceCreateRequest
processInstanceCreateRequest
=
getProcessInstanceCreateRequest
((
PrjProject
)
list
.
get
(
0
),
iRequest
);
activitiService
.
startProcess
(
iRequest
,
processInstanceCreateRequest
);
}
private
ProcessInstanceCreateRequest
getProcessInstanceCreateRequest
(
PrjProject
prjProject
,
IRequest
iRequest
)
{
ProcessInstanceCreateRequest
createRequest
=
new
ProcessInstanceCreateRequest
();
{
ProcessInstanceCreateRequest
createRequest
=
new
ProcessInstanceCreateRequest
();
PrjProject
project
=
projectService
.
selectByPrimaryKey
(
iRequest
,
prjProject
);
ReProcdef
reProcdefs
;
reProcdefs
=
reProcdefService
.
queryReProcdef
(
"PRJ_PROJECT_APPROVE"
,
"PRJ_PROJECT"
);
String
id
=
reProcdefs
.
getId_
();
...
...
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