Commit b890c99d by zhangdongwei-intern

修改

parent a528eff8
......@@ -1420,7 +1420,7 @@ public class BookGroupBizImpl implements BookGroupBiz {
PageBeanNew<ListBook4ChannelVO> resultInfos = bookDao.listPageNew(pageParam, paramMap, "listBookGroup4Channel");
List<Long> bookGroupIds = resultInfos.getRecordList().stream().map(ListBook4ChannelVO::getBookGroupId).collect(Collectors.toList());
if(ListUtils.isEmpty(bookGroupIds)){
return new PageBeanNew(0, 0, 0, new ArrayList<>());
return new PageBeanNew(currentPage, numPerPage, 0, new ArrayList<>());
}
Map<Long, BookGroupStatisticDTO> statisMap = bookGroupClassifyBiz.getBookGroupStatistic(bookGroupIds);
for (ListBook4ChannelVO listBook4ChannelVO : resultInfos.getRecordList()) {
......
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