Commit 22b44257 by 郑永强

bug: [1032516] 落地页菜单问题

parent c67d2f98
...@@ -1546,8 +1546,17 @@ public class ResourcePageBizImpl implements ResourcePageBiz { ...@@ -1546,8 +1546,17 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
resourcePageVO.setAccountSettingId(accountSettingDto.getAccountSettingId()); resourcePageVO.setAccountSettingId(accountSettingDto.getAccountSettingId());
} }
resourcePageVO.setChannelId(channelId); resourcePageVO.setChannelId(channelId);
if(resourcePageVO.getId() != null){
// 实体店铺
resourcePageVO.setResourcePageBookstoreList(resourcePageBookstoreBiz.getByResourcePageId(resourcePageVO.getId(), resourcePageVO.getChannelId(), wechatUserId, ResourcePageFixtureTypeEnum.BOOKSTORE));
// 优惠券
resourcePageVO.setResourcePageCouponList(resourcePageBookstoreBiz.getByResourcePageId(resourcePageVO.getId(), resourcePageVO.getChannelId(), wechatUserId, ResourcePageFixtureTypeEnum.COUPONS));
}
} }
List<ResourcePageNavigation> navigations = resourcePageNavigationDao.getByPageId(resourcePageVO.getId()); List<ResourcePageNavigation> navigations = resourcePageNavigationDao.getByPageId(resourcePageVO.getId());
// 加载跳转数据
this.fillCustomServe(navigations, wechatUserId);
resourcePageVO.setNavigationList(navigations); resourcePageVO.setNavigationList(navigations);
return resourcePageVO; return resourcePageVO;
} }
......
...@@ -129,7 +129,8 @@ ...@@ -129,7 +129,8 @@
p.navigation_color, p.navigation_color,
p.navigation_format, p.navigation_format,
p.font_color, p.font_color,
p.transparency p.transparency,
p.navigation_jump_type
FROM FROM
resource_page p resource_page p
LEFT JOIN resource_page_item i ON p.id = i.resource_page_id LEFT JOIN resource_page_item i ON p.id = i.resource_page_id
......
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