Commit 526c0bde by 田超

Merge branch 'fixbug/1026453' into 'master'

bug: [1026453] 周权益应用收藏未展示

See merge request rays/pcloud-book!1043
parents ebfabc95 7f3fc352
......@@ -2022,6 +2022,8 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
}
// 处理馆配图书
processLibraryBook(bookId, adviserId, rightsSettingDto);
//填充收藏
fillCollect(wechatUserId, rightsSettingDto, RightsNowItemTypeNew.ONLINE_REMIND.value);
return rightsSettingDto;
}
......@@ -2397,6 +2399,14 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
if (null != rightsSetting4Serves.getLearningToolTitle() && !ListUtils.isEmpty(rightsSetting4Serves.getLearningToolTitle().getRightsSettingItemList())){
rightsNowItemList = rightsSetting4Serves.getLearningToolTitle().getRightsSettingItemList();
}
} else if (RightsNowItemTypeNew.ONLINE_REMIND.value.equals(type)) {
if (!ListUtils.isEmpty(rightsSetting4Serves.getRightsSettingWeekItems())){
for (RightsSettingItem rightsSettingItem : rightsSetting4Serves.getRightsSettingWeekItems()) {
if (!ListUtils.isEmpty(rightsSettingItem.getRightsSettingItemList4Serve())) {
rightsNowItemList.addAll(rightsSettingItem.getRightsSettingItemList4Serve());
}
}
}
}
if (!ListUtils.isEmpty(rightsNowItemList)) {
fillCollect4RightsNowItem(wechatUserId,rightsNowItemList);
......
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