Commit 602d8ff3 by 李传峰

Merge branch 'feature/1007254' into 'master'

feat: [1007254] 【优化】斗罗大陆书刊(3本)需求支持

See merge request rays/pcloud-book!1599
parents badf6fd7 ba6adb01
......@@ -4538,6 +4538,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
}
}
setChannel(itemVOList);
fillTaskType(itemVOList);
return itemVOList;
}
......@@ -4572,7 +4573,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
return;
}
Map<Long, Integer> appTaskMap = appTaskDTOs.stream().collect(Collectors.toMap(AppTaskDTO::getAppId, AppTaskDTO::getTaskType, (k1, k2) -> k1));
itemAppAndProductVOList.stream().forEach(item -> {
itemAppAndProductVOList.forEach(item -> {
if (CollUtil.isNotEmpty(appTaskMap) && null != appTaskMap.get(item.getServeId())) {
item.setTaskType(appTaskMap.get(item.getServeId()));
}
......
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