Commit 45106e09 by 田超

Merge branch 'fixbug/fix1030832' into 'master'

bug: [1030832] 【生产回归】【生产环境】【出版端】【书刊管理】根据不存在的关键词搜索出了全部内容,应该一个也搜不到

See merge request rays/pcloud-book!1411
parents 8bb0807d 25dae8f9
......@@ -1284,7 +1284,7 @@ public class BookBizImpl implements BookBiz {
}
PageBean pageBean = bookDao.listPage(pageParam, paramMap, "listPage4Agent");
if (pageBean == null || ListUtils.isEmpty(pageBean.getRecordList())) {
return new PageBean();
return new PageBean(pageParam.getPageNum(), pageParam.getNumPerPage(), pageBean.getTotalCount(), new ArrayList<>());
}
// 填充渠道基础信息
bookSet.setChannelInfoList(pageBean.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