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