Commit 1988335bda9a233246fa69f693c751383711aec1

Authored by 杨鸣坤
1 parent 9016eb76

楚江ERP:合同查询报错问题修复

@@ -122,7 +122,7 @@ public class ContractDistributorStandardServiceImpl extends @@ -122,7 +122,7 @@ public class ContractDistributorStandardServiceImpl extends
122 vo.setCreateById(userId); 122 vo.setCreateById(userId);
123 } else { 123 } else {
124 Map<String, List<String>> userIdMap = sysUserDeptService.mapAllUserByUserId(Collections.singletonList(userId), true); 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 vo.getCreateByIdList().add(userId); 126 vo.getCreateByIdList().add(userId);
127 } 127 }
128 128