From d20a64c8b750c8a10c5851ad8df5e4b5ce3fc8c6 Mon Sep 17 00:00:00 2001 From: jianjun Date: Thu, 10 Jun 2021 15:32:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/epmet/service/user/impl/UserServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/user/impl/UserServiceImpl.java b/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/user/impl/UserServiceImpl.java index 8ce45d4779..9be10286b6 100644 --- a/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/user/impl/UserServiceImpl.java +++ b/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/user/impl/UserServiceImpl.java @@ -761,7 +761,7 @@ public class UserServiceImpl implements UserService { .map(ScreenProjectDataDTO::getLinkName).distinct().collect(Collectors.toList()); Map staffMap = new HashMap<>(); - if (!CollectionUtils.isEmpty(topicUserIdList)){ + if (!CollectionUtils.isEmpty(staffUserIdList)){ List staffList = userDao.selectStaffInfo(staffUserIdList); logger.info("fillScreenProjectData staff list:{},param:{}", JSON.toJSONString(staffList),staffUserIdList); staffMap = staffList.stream().collect(Collectors.toMap(ScreenProjectDataDTO::getId,o->o,(o1,o2)->o1)); @@ -773,6 +773,7 @@ public class UserServiceImpl implements UserService { userDTO = topicUserMap.get(project.getLinkName()); } if (userDTO != null) { + logger.info("fillScreenProjectData every user data:{}", JSON.toJSONString(userDTO)); project.setLinkName(userDTO.getLinkName()); project.setLinkMobile(userDTO.getLinkMobile()); }