Commit 57d41951 by 田超

Merge branch 'fixbug/fixcode' into 'master'

bug: [none] fixcode

See merge request rays/pcloud-book!1238
parents ef7a5d73 af4aacdb
...@@ -1012,7 +1012,7 @@ public class RightsSettingBizImpl implements RightsSettingBiz { ...@@ -1012,7 +1012,7 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
//获取第三方资源 //获取第三方资源
Map<Long, AppletThirdResources> appletThirdResourcesHashMap = new HashMap<>(); Map<Long, AppletThirdResources> appletThirdResourcesHashMap = new HashMap<>();
CompletableFuture<List<Long>> appletThirdResourcesFuture = CompletableFuture.supplyAsync(() -> rightsSettingBanners.stream() CompletableFuture<List<Long>> appletThirdResourcesFuture = CompletableFuture.supplyAsync(() -> rightsSettingBanners.stream()
.filter(x -> Objects.nonNull(x) && Objects.equals(x.getJumpType(), RightsSettingJumpType.ThIRD_RESOURCE.value)) .filter(x -> Objects.nonNull(x) && Objects.equals(x.getJumpType(), RightsSettingJumpType.ThIRD_RESOURCE.code))
.map(RightsSettingBanner::getServeId).collect(Collectors.toList())).whenComplete((list, throwable) -> { .map(RightsSettingBanner::getServeId).collect(Collectors.toList())).whenComplete((list, throwable) -> {
if (Objects.nonNull(throwable)) { if (Objects.nonNull(throwable)) {
log.error("[fillServeInfo] banner 图填充作品信息失败,err:{}", throwable.getMessage(), throwable); log.error("[fillServeInfo] banner 图填充作品信息失败,err:{}", throwable.getMessage(), throwable);
......
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