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
38c4accf
Commit
38c4accf
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
a0d5436a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
activiti_demo.md
后端开发/activiti_demo.md
+7
-5
No files found.
后端开发/activiti_demo.md
View file @
38c4accf
...
@@ -45,19 +45,21 @@ import java.util.Map;
...
@@ -45,19 +45,21 @@ import java.util.Map;
@Service
@Service
@Transactional
@Transactional
public
class
PrjActivitStartServiceImpl
implements
IActivitiCommonService
public
class
PrjActivitStartServiceImpl
implements
IActivitiCommonService
{
private
static
final
String
workFlowType
=
"PRJ_PROJECT"
;
@Autowired
{
private
static
final
String
workFlowType
=
"PRJ_PROJECT"
;
@Autowired
private
IActivitiService
activitiService
;
private
IActivitiService
activitiService
;
@Autowired
@Autowired
private
IReProcdefService
reProcdefService
;
private
IReProcdefService
reProcdefService
;
@Autowired
@Autowired
private
PrjProjectService
projectService
;
private
PrjProjectService
projectService
;
@Autowired
@Autowired
private
PrjProjectMeetingMapper
meetingMapper
;
private
PrjProjectMeetingMapper
meetingMapper
;
@Override
@Override
public
String
getWorkFlowType
()
{
return
workFlowType
;
}
public
String
getWorkFlowType
()
{
return
workFlowType
;
}
@Override
@Override
public
void
process
(
IRequest
iRequest
,
List
list
,
Map
params
)
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
)
private
ProcessInstanceCreateRequest
getProcessInstanceCreateRequest
(
PrjProject
prjProject
,
IRequest
iRequest
)
{
ProcessInstanceCreateRequest
createRequest
=
new
ProcessInstanceCreateRequest
();
{
ProcessInstanceCreateRequest
createRequest
=
new
ProcessInstanceCreateRequest
();
...
...
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