Commit 1988335bda9a233246fa69f693c751383711aec1

Authored by 杨鸣坤
1 parent 9016eb76

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

... ... @@ -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
... ...