|
|
@@ -73,7 +73,7 @@ public class CorpFollowDynamicConfigServiceImpl implements CorpFollowDynamicConf
|
|
|
}
|
|
|
String serviceNames = null;
|
|
|
if (corpFollowServiceDtos != null) {
|
|
|
- serviceNames = corpFollowServiceDtos.stream().filter(cs -> followIds.contains(cs.getFollowId())).map(SysCorpFollowView::getShowName).collect(Collectors.joining(","));
|
|
|
+ serviceNames = corpFollowServiceDtos.stream().filter(cs -> userIndxList.contains(Integer.parseInt(cs.getSid().toString()))).map(SysCorpFollowView::getShowName).collect(Collectors.joining(","));
|
|
|
}
|
|
|
if (StrUtil.isEmpty(serviceNames)) {
|
|
|
throw BusinessRuntimeException.getInstance("存在被删除的客服,请刷新页面重试");
|
|
|
@@ -83,7 +83,7 @@ public class CorpFollowDynamicConfigServiceImpl implements CorpFollowDynamicConf
|
|
|
} else {
|
|
|
Map<String, List<SysCorpFollowView>> csMap = null;
|
|
|
if (corpFollowServiceDtos != null) {
|
|
|
- csMap = corpFollowServiceDtos.stream().filter(cs -> followIds.contains(cs.getFollowId())).collect(Collectors.groupingBy(SysCorpFollowView::getFollowId));
|
|
|
+ csMap = corpFollowServiceDtos.stream().filter(cs -> userIndxList.contains(Integer.parseInt(cs.getSid().toString()))).collect(Collectors.groupingBy(SysCorpFollowView::getFollowId));
|
|
|
}
|
|
|
if (csMap == null || csMap.keySet().size() != followIds.size()) {
|
|
|
throw BusinessRuntimeException.getInstance("存在被删除的客服,请刷新页面重试");
|