Commit 14f64d67 by 田超

Merge branch 'fixbug/1029338' into 'master'

bug: [1029338] 书刊未显示小睿书标签

See merge request rays/pcloud-book!1305
parents 3fea7134 73e1fd2c
...@@ -695,6 +695,7 @@ public class BookBizImpl implements BookBiz { ...@@ -695,6 +695,7 @@ public class BookBizImpl implements BookBiz {
if (bookDto == null) { if (bookDto == null) {
return new BookDto(); return new BookDto();
} }
bookDto.setAdviserId(adviserId);
// 设置渠道信息 // 设置渠道信息
bookDto.setChannelId(channelId); bookDto.setChannelId(channelId);
bookDto.setChannelName(channelConsr.getNameById(channelId)); bookDto.setChannelName(channelConsr.getNameById(channelId));
...@@ -711,6 +712,8 @@ public class BookBizImpl implements BookBiz { ...@@ -711,6 +712,8 @@ public class BookBizImpl implements BookBiz {
bookDto.setUniqueNumber("BK" + bookDto.getBookId()); bookDto.setUniqueNumber("BK" + bookDto.getBookId());
// 设置二维码个数 // 设置二维码个数
bookDto.setQrcodeCount(qrcodeSceneConsr.getBookQRCountByMap(adviserId, channelId, bookId)); bookDto.setQrcodeCount(qrcodeSceneConsr.getBookQRCountByMap(adviserId, channelId, bookId));
//设置书刊是否是小睿书(开启小睿流程)
bookSet.setOpenRobotProcess(new ArrayList<>(Arrays.asList(bookDto)));
// 异步发起书刊推荐超级作者资源计算 // 异步发起书刊推荐超级作者资源计算
BookDto finalBookDto = bookDto; BookDto finalBookDto = bookDto;
......
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