Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
6696783c
Commit
6696783c
authored
Sep 26, 2021
by
chenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加两个获取当前登陆人可以执行的任务列表,已经执行的任务历史列表
parent
0ce5e1bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
WorkflowFeignService.java
.../boot/biz/common/workflow/feign/WorkflowFeignService.java
+19
-1
No files found.
amos-boot-biz-common/src/main/java/com/yeejoin/amos/boot/biz/common/workflow/feign/WorkflowFeignService.java
View file @
6696783c
...
...
@@ -8,7 +8,7 @@ import org.springframework.web.bind.annotation.RequestBody;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
java.text.ParseException
;
import
com.alibaba.fastjson.JSONObject
;
import
feign.Response
;
...
...
@@ -166,4 +166,22 @@ public interface WorkflowFeignService {
*/
@RequestMapping
(
value
=
"/task/"
)
JSONObject
getTask
(
@RequestParam
(
value
=
"processInstanceId"
)
String
processInstanceId
);
/**
* 获取当前登录人所有可以执行的任务列表
* @param definitionKey
* @return
* @throws Exception
*/
@RequestMapping
(
value
=
"/task/getCurrentUserAllTaskList/{definitionKey}"
,
method
=
RequestMethod
.
GET
)
JSONObject
getCurrentUserAllTaskList
(
@PathVariable
String
definitionKey
)
throws
Exception
;
/**
* 获取当前登录人所有已执行的历史任务列表
* @param processDefinitionKey
* @return
* @throws ParseException
*/
@RequestMapping
(
value
=
"/activitiHistory/processes/queryCurrentUserHistoryTasks/list/{processDefinitionKey}"
,
method
=
RequestMethod
.
GET
)
JSONObject
queryCurrentUserHistoryTasks
(
@PathVariable
String
processDefinitionKey
)
throws
ParseException
;
}
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