|
@@ -38,6 +38,11 @@ public class MultContactFacade extends RelationServiceImpl {
|
|
|
IPage<OnlyByRootListDTO> ipage = this.baseMapper.onlyByRootList(onlyByRootListVO);
|
|
|
|
|
|
if (ListUtil.isNotEmpty(ipage.getRecords())) {
|
|
|
+ ipage.getRecords().forEach(i -> {
|
|
|
+ i.setLibType(LexiconTypeEnum.getName(i.getLibTypeId().intValue()));
|
|
|
+ i.setLibNameType(i.getLibName() + "(" + i.getLibType() + ")");
|
|
|
+ });
|
|
|
+
|
|
|
List<String> userIds = ipage.getRecords()
|
|
|
.stream().filter(i -> StringUtil.isNotBlank(i.getOperName()))
|
|
|
.map(i -> i.getOperName()).distinct().collect(Collectors.toList());
|
|
@@ -45,11 +50,8 @@ public class MultContactFacade extends RelationServiceImpl {
|
|
|
if (ListUtil.isNotEmpty(userIds)) {
|
|
|
RespDTO<Map<String, String>> respDTO = userServiceClient.getUserInfoByIds(userIds);
|
|
|
RespDTOUtil.respNGDealCover(respDTO, "获取用户信息失败");
|
|
|
-
|
|
|
ipage.getRecords().forEach(i -> {
|
|
|
i.setOperName(respDTO.data.get(i.getOperName()));
|
|
|
- i.setLibType(LexiconTypeEnum.getName(i.getLibTypeId().intValue()));
|
|
|
- i.setLibNameType(i.getLibName() + "(" + i.getLibType() + ")");
|
|
|
});
|
|
|
}
|
|
|
}
|