待办 任务与 首页待办冲突问题处理
This commit is contained in:
@@ -85,9 +85,12 @@ public interface workFlowFeignClient {
|
|||||||
@RequestMapping(value = "/bat-wkflow/hastodoTasksList",method = RequestMethod.POST)
|
@RequestMapping(value = "/bat-wkflow/hastodoTasksList",method = RequestMethod.POST)
|
||||||
Wrapper<Map<String, Object>> HastodoTasksListByUserId(@RequestBody TaskCommonQuery taskCommonQuery);
|
Wrapper<Map<String, Object>> HastodoTasksListByUserId(@RequestBody TaskCommonQuery taskCommonQuery);
|
||||||
|
|
||||||
@RequestMapping(value = "/bat-wkflow/todoTaskListShow",method = RequestMethod.POST)
|
@RequestMapping(value = "/bat-wkflow/todoTaskList",method = RequestMethod.POST)
|
||||||
List<BusProcessName> todoTaskListByUserId(@RequestBody TaskCommonQuery taskCommonQuery);
|
List<BusProcessName> todoTaskListByUserId(@RequestBody TaskCommonQuery taskCommonQuery);
|
||||||
|
|
||||||
|
@RequestMapping(value = "/bat-wkflow/todoTaskListShow",method = RequestMethod.POST)
|
||||||
|
List<BusProcessName> todoTaskListByUserIdInfo(@RequestBody TaskCommonQuery taskCommonQuery);
|
||||||
|
|
||||||
@RequestMapping(value = "/bat-wkflow/todoTaskListNew",method = RequestMethod.POST)
|
@RequestMapping(value = "/bat-wkflow/todoTaskListNew",method = RequestMethod.POST)
|
||||||
List<BusProcessName> todoTaskListByUserIdNew(@RequestBody TaskCommonQuery taskCommonQuery);
|
List<BusProcessName> todoTaskListByUserIdNew(@RequestBody TaskCommonQuery taskCommonQuery);
|
||||||
|
|
||||||
|
|||||||
@@ -473,4 +473,9 @@ public class workFlowFeignClientImpl {
|
|||||||
public String endPrcName(String prcName,String esId) {
|
public String endPrcName(String prcName,String esId) {
|
||||||
return workFlowFeignClient.endPrcName(prcName,esId);
|
return workFlowFeignClient.endPrcName(prcName,esId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public List<BusProcessName> todoTaskListByUserIdInfo(TaskCommonQuery taskCommonQuery) {
|
||||||
|
List<BusProcessName> mapWrapper = workFlowFeignClient.todoTaskListByUserIdInfo(taskCommonQuery);
|
||||||
|
return mapWrapper;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -532,7 +532,7 @@ public class WorkFlowController extends BaseController {
|
|||||||
@ApiOperation(value = "我的待办任务列表")
|
@ApiOperation(value = "我的待办任务列表")
|
||||||
@PostMapping("/todoTaskList")
|
@PostMapping("/todoTaskList")
|
||||||
public PageInfo<BusProcessName> todoTaskListByUserId(@RequestBody TaskCommonQuery taskCommonQuery) {
|
public PageInfo<BusProcessName> todoTaskListByUserId(@RequestBody TaskCommonQuery taskCommonQuery) {
|
||||||
List<BusProcessName> busProcessNames = workFlowFeignClient.todoTaskListByUserId(taskCommonQuery);
|
List<BusProcessName> busProcessNames = workFlowFeignClient.todoTaskListByUserIdInfo(taskCommonQuery);
|
||||||
List list1 = this.startPage(busProcessNames, taskCommonQuery.getCurrent(), taskCommonQuery.getSize());
|
List list1 = this.startPage(busProcessNames, taskCommonQuery.getCurrent(), taskCommonQuery.getSize());
|
||||||
PageInfo<BusProcessName> pageInfo = new PageInfo<BusProcessName>();
|
PageInfo<BusProcessName> pageInfo = new PageInfo<BusProcessName>();
|
||||||
if (busProcessNames != null) {
|
if (busProcessNames != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user