|
@@ -124,11 +124,11 @@ public class UserServiceImpl implements UserService{
|
|
|
item.setEnterpriseId(DEFAULT_ENTERPRISE_ID.equals(userDO.getEnterpriseId())?null:userDO.getEnterpriseId());
|
|
|
list.add(item);
|
|
|
}
|
|
|
- System.out.println("DEBUG ============>");
|
|
|
- System.out.println(JSON.toJSONString(userDOS));
|
|
|
+// System.out.println("DEBUG ============>");
|
|
|
+// System.out.println(JSON.toJSONString(userDOS));
|
|
|
List<UserInfoRespDTO> result = userApi.getUserInfo(list).getCheckedData();
|
|
|
- System.out.println(JSON.toJSONString(result));
|
|
|
- System.out.println("DEBUG ============>");
|
|
|
+// System.out.println(JSON.toJSONString(result));
|
|
|
+// System.out.println("DEBUG ============>");
|
|
|
|
|
|
List<ImUserInfoVo> resultVo = new ArrayList<>(result.size()+1);
|
|
|
Map<String, UserInfoRespDTO> collect = result.stream().collect(Collectors.toMap(item -> item.getUserId().toString() +"-"+ (null == item.getEnterpriseId() ? DEFAULT_ENTERPRISE_ID.intValue() : item.getEnterpriseId()), item -> item));
|