待办 任务与 首页待办冲突问题处理

This commit is contained in:
gaojiabao
2023-05-15 14:54:40 +08:00
parent 717d1b7b06
commit de34688afc
3 changed files with 10 additions and 2 deletions
@@ -85,9 +85,12 @@ public interface workFlowFeignClient {
@RequestMapping(value = "/bat-wkflow/hastodoTasksList",method = RequestMethod.POST)
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);
@RequestMapping(value = "/bat-wkflow/todoTaskListShow",method = RequestMethod.POST)
List<BusProcessName> todoTaskListByUserIdInfo(@RequestBody TaskCommonQuery taskCommonQuery);
@RequestMapping(value = "/bat-wkflow/todoTaskListNew",method = RequestMethod.POST)
List<BusProcessName> todoTaskListByUserIdNew(@RequestBody TaskCommonQuery taskCommonQuery);
@@ -473,4 +473,9 @@ public class workFlowFeignClientImpl {
public String endPrcName(String prcName,String esId) {
return workFlowFeignClient.endPrcName(prcName,esId);
}
public List<BusProcessName> todoTaskListByUserIdInfo(TaskCommonQuery taskCommonQuery) {
List<BusProcessName> mapWrapper = workFlowFeignClient.todoTaskListByUserIdInfo(taskCommonQuery);
return mapWrapper;
}
}
@@ -532,7 +532,7 @@ public class WorkFlowController extends BaseController {
@ApiOperation(value = "我的待办任务列表")
@PostMapping("/todoTaskList")
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());
PageInfo<BusProcessName> pageInfo = new PageInfo<BusProcessName>();
if (busProcessNames != null) {