Browse Source

日志bug

master
jianjun 4 years ago
parent
commit
d20a64c8b7
  1. 3
      epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/user/impl/UserServiceImpl.java

3
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<String, ScreenProjectDataDTO> staffMap = new HashMap<>();
if (!CollectionUtils.isEmpty(topicUserIdList)){
if (!CollectionUtils.isEmpty(staffUserIdList)){
List<ScreenProjectDataDTO> 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());
}

Loading…
Cancel
Save