Showing
1 changed file
with
4 additions
and
0 deletions
| @@ -167,6 +167,10 @@ public class ContractDistributorStandardServiceImpl extends | @@ -167,6 +167,10 @@ public class ContractDistributorStandardServiceImpl extends | ||
| 167 | public ContractDistributorStandard findById(String id) { | 167 | public ContractDistributorStandard findById(String id) { |
| 168 | 168 | ||
| 169 | ContractDistributorStandard data = getBaseMapper().selectById(id); | 169 | ContractDistributorStandard data = getBaseMapper().selectById(id); |
| 170 | + if (data == null) { | ||
| 171 | + return null; | ||
| 172 | + } | ||
| 173 | + | ||
| 170 | // 获取当前人员的待办任务数据 | 174 | // 获取当前人员的待办任务数据 |
| 171 | List<FlowTaskDto> flowTaskList = flowTaskWrapperMapper.queryTodoList(new QueryTodoTaskListVo(), SecurityUtil.getCurrentUser().getId()); | 175 | List<FlowTaskDto> flowTaskList = flowTaskWrapperMapper.queryTodoList(new QueryTodoTaskListVo(), SecurityUtil.getCurrentUser().getId()); |
| 172 | if (CollectionUtils.isEmpty(flowTaskList)) { | 176 | if (CollectionUtils.isEmpty(flowTaskList)) { |