|
|
@@ -83,6 +83,7 @@ public class SopUserLogsInfoController extends BaseController
|
|
|
//startPage();
|
|
|
if (sopUserLogsInfo.getFilterMode() == 1) {
|
|
|
List<SopUserLogsInfo> list = sopUserLogsInfoService.selectSopUserLogsInfoList(sopUserLogsInfo);
|
|
|
+ list.forEach(item -> item.setLevel(item.getGrade()));
|
|
|
|
|
|
if (!list.isEmpty()) {
|
|
|
// 使用并行流提取externalId
|
|
|
@@ -98,7 +99,7 @@ public class SopUserLogsInfoController extends BaseController
|
|
|
Map<Long, SopExternalContactInfo> externalContactInfoMap = qwExternalContactVOTimes.stream()
|
|
|
.collect(Collectors.toMap(
|
|
|
QwExternalContactVOTime::getId,
|
|
|
- item -> new SopExternalContactInfo(item.getCreateTime(), item.getTagIds(), item.getRemark(),item.getLevel())
|
|
|
+ item -> new SopExternalContactInfo(item.getCreateTime(), item.getTagIds(), item.getRemark(), null)
|
|
|
));
|
|
|
|
|
|
List<String> tagIds = qwExternalContactVOTimes.stream().map(QwExternalContactVOTime::getTagIds).filter(StringUtils::isNotEmpty).flatMap(e -> JSON.parseArray(e, String.class).stream()).collect(Collectors.toList());
|
|
|
@@ -117,12 +118,10 @@ public class SopUserLogsInfoController extends BaseController
|
|
|
list.forEach(item -> {
|
|
|
SopExternalContactInfo info = externalContactInfoMap.getOrDefault(
|
|
|
item.getExternalId(),
|
|
|
- new SopExternalContactInfo("无进线时间", "无标签", "无备注",0));
|
|
|
+ new SopExternalContactInfo("无进线时间", "无标签", "无备注", null));
|
|
|
item.setInComTime(info.getCreateTime());
|
|
|
item.setTagIds(info.getTagIds());
|
|
|
item.setRemark(info.getRemark());
|
|
|
- item.setLevel(info.getLevel());
|
|
|
-
|
|
|
});
|
|
|
}
|
|
|
|