Commit 809d85d7 authored by 刘基明's avatar 刘基明

feign fix

parent 12e566f2
...@@ -228,7 +228,7 @@ public class BatchFeignCallService { ...@@ -228,7 +228,7 @@ public class BatchFeignCallService {
List<ZhiboListResp> list = feignService.getZhiboSimpleList(setToList(zhiboIds)); List<ZhiboListResp> list = feignService.getZhiboSimpleList(setToList(zhiboIds));
zhiboMap.putAll(list.stream().collect(Collectors.toMap(ZhiboListResp::getId, item -> item, (oldValue, newValue) -> oldValue))); zhiboMap.putAll(list.stream().collect(Collectors.toMap(ZhiboListResp::getId, item -> item, (oldValue, newValue) -> oldValue)));
} }
if (!CollectionUtils.isEmpty(zhiboIds)) { if (!CollectionUtils.isEmpty(activityIds)) {
// 活动列表 // 活动列表
List<OfflineActivitySimpleResp> list = feignService.getActivitySimpleList(setToList(activityIds)); List<OfflineActivitySimpleResp> list = feignService.getActivitySimpleList(setToList(activityIds));
activityMap.putAll(list.stream().collect(Collectors.toMap(OfflineActivitySimpleResp::getActivityId, item -> item, (oldValue, newValue) -> oldValue))); activityMap.putAll(list.stream().collect(Collectors.toMap(OfflineActivitySimpleResp::getActivityId, item -> item, (oldValue, newValue) -> oldValue)));
...@@ -444,7 +444,7 @@ public class BatchFeignCallService { ...@@ -444,7 +444,7 @@ public class BatchFeignCallService {
.product(product).build()); .product(product).build());
} }
} else if (themeContent.getType().equals(RelTypeEnum.OFFLINE_ACTIVITY.type)) { } else if (themeContent.getType().equals(RelTypeEnum.OFFLINE_ACTIVITY.type)) {
if (courseMap.containsKey(themeContent.getValue())) { if (activityMap.containsKey(themeContent.getValue())) {
themeContent.setDetail(AttachmentDetailVo.builder() themeContent.setDetail(AttachmentDetailVo.builder()
.activity(activityMap.get(themeContent.getValue())).build()); .activity(activityMap.get(themeContent.getValue())).build());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment