Showing
1 changed file
with
1 additions
and
1 deletions
| ... | ... | @@ -122,7 +122,7 @@ public class ContractDistributorStandardServiceImpl extends |
| 122 | 122 | vo.setCreateById(userId); |
| 123 | 123 | } else { |
| 124 | 124 | Map<String, List<String>> userIdMap = sysUserDeptService.mapAllUserByUserId(Collections.singletonList(userId), true); |
| 125 | - vo.setCreateByIdList(userIdMap.get(userId)); | |
| 125 | + vo.setCreateByIdList(CollectionUtils.isEmpty(userIdMap.get(userId)) ? new ArrayList<>(0) : userIdMap.get(userId)); | |
| 126 | 126 | vo.getCreateByIdList().add(userId); |
| 127 | 127 | } |
| 128 | 128 | ... | ... |