Commit ae1bedc2 by 田超

Merge branch 'feature/1004406' into 'master'

bug:[none]数量的问题

See merge request rays/pcloud-book!1230
parents c4a03596 a42948d4
......@@ -4007,7 +4007,7 @@ public class BookBizImpl implements BookBiz {
if (bookList == null || bookList.size() == 0) {
return new BookCountsVO();
}
List<Long> books = new ArrayList<>();
Set<Long> books = new HashSet<>();
List<Long> channelIds = new ArrayList<>();
List<Long> adviserIds = new ArrayList<>();
for (ERPPublishNumDTO erpPublishNumDTO : bookList) {
......@@ -4024,7 +4024,7 @@ public class BookBizImpl implements BookBiz {
}
//获取社群码图书扫码量
BookGroupScanStatisticsRequestDTO bookGroupScanStatisticsRequestDTO = new BookGroupScanStatisticsRequestDTO();
bookGroupScanStatisticsRequestDTO.setBookIds(books);
bookGroupScanStatisticsRequestDTO.setBookIds(new ArrayList<>(books));
bookGroupScanStatisticsRequestDTO.setAdviserIds(adviserIds);
bookGroupScanStatisticsRequestDTO.setChannelIds(channelIds);
bookGroupScanStatisticsRequestDTO.setStart(200001);
......@@ -4046,7 +4046,7 @@ public class BookBizImpl implements BookBiz {
booksScanCounts.put(bookId, scanCount);
}
BookScanStatistics4OfficialAccountsReqDTO bookScanStatistics4OfficialAccountsReqDTO = new BookScanStatistics4OfficialAccountsReqDTO();
bookScanStatistics4OfficialAccountsReqDTO.setBookIds(books);
bookScanStatistics4OfficialAccountsReqDTO.setBookIds(new ArrayList<>(books));
bookScanStatistics4OfficialAccountsReqDTO.setAdviserIds(adviserIds);
bookScanStatistics4OfficialAccountsReqDTO.setChannelIds(channelIds);
bookScanStatistics4OfficialAccountsReqDTO.setStart(new Date("2001/01/01 00:00:00"));
......
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