Showing
8 changed files
with
8 additions
and
8 deletions
| ... | ... | @@ -107,7 +107,7 @@ public class CustomerCreditServiceImpl extends BaseMpServiceImpl<CustomerCreditM |
| 107 | 107 | // 获取当前人员的待办任务数据 |
| 108 | 108 | List<FlowTaskDto> flowTaskList = flowTaskWrapperMapper.queryTodoList(new QueryTodoTaskListVo(), SecurityUtil.getCurrentUser().getId()); |
| 109 | 109 | if (org.apache.commons.collections4.CollectionUtils.isEmpty(flowTaskList)) { |
| 110 | - return new PageResult<>(); | |
| 110 | + return PageResultUtil.convert(new PageInfo<>(datas)); | |
| 111 | 111 | } |
| 112 | 112 | List<String> ids = flowTaskList.stream().map(FlowTaskDto::getBusinessId).collect(Collectors.toList()); |
| 113 | 113 | for (CustomerCredit customerCredit : datas) { | ... | ... |
| ... | ... | @@ -66,7 +66,7 @@ public class PurchaseOrderInfoServiceImpl extends BaseMpServiceImpl<PurchaseOrde |
| 66 | 66 | // 获取当前人员的待办任务数据 |
| 67 | 67 | List<FlowTaskDto> flowTaskList = flowTaskWrapperMapper.queryTodoList(new QueryTodoTaskListVo(), SecurityUtil.getCurrentUser().getId()); |
| 68 | 68 | if (org.apache.commons.collections4.CollectionUtils.isEmpty(flowTaskList)) { |
| 69 | - return new PageResult<>(); | |
| 69 | + return PageResultUtil.convert(new PageInfo<>(datas)); | |
| 70 | 70 | } |
| 71 | 71 | List<String> ids = flowTaskList.stream().map(FlowTaskDto::getBusinessId).collect(Collectors.toList()); |
| 72 | 72 | for (PurchaseOrderInfo purchaseOrderInfo : datas) { | ... | ... |
| ... | ... | @@ -67,7 +67,7 @@ public class PurchaseOrderRevokeServiceImpl extends BaseMpServiceImpl<PurchaseOr |
| 67 | 67 | // 获取当前人员的待办任务数据 |
| 68 | 68 | List<FlowTaskDto> flowTaskList = flowTaskWrapperMapper.queryTodoList(new QueryTodoTaskListVo(), SecurityUtil.getCurrentUser().getId()); |
| 69 | 69 | if (CollectionUtils.isEmpty(flowTaskList)) { |
| 70 | - return new PageResult<>(); | |
| 70 | + return PageResultUtil.convert(new PageInfo<>(datas)); | |
| 71 | 71 | } |
| 72 | 72 | List<String> ids = flowTaskList.stream().map(FlowTaskDto::getBusinessId).collect(Collectors.toList()); |
| 73 | 73 | for (PurchaseOrderRevoke purchaseOrderRevoke : datas) { | ... | ... |
| ... | ... | @@ -54,7 +54,7 @@ public class DraftRequestCarTicketServiceImpl extends BaseMpServiceImpl<DraftReq |
| 54 | 54 | // 获取当前人员的待办任务数据 |
| 55 | 55 | List<FlowTaskDto> flowTaskList = flowTaskWrapperMapper.queryTodoList(new QueryTodoTaskListVo(), SecurityUtil.getCurrentUser().getId()); |
| 56 | 56 | if (CollectionUtils.isEmpty(flowTaskList)) { |
| 57 | - return new PageResult<>(); | |
| 57 | + return PageResultUtil.convert(new PageInfo<>(datas)); | |
| 58 | 58 | } |
| 59 | 59 | List<String> ids = flowTaskList.stream().map(FlowTaskDto::getBusinessId).collect(Collectors.toList()); |
| 60 | 60 | for (DraftRequestCarTicket draftRequestCarTicket : datas) { | ... | ... |