Commit 8b2e68d4 by 阮思源

获取出版社创建社群书数量前五当没有特殊出版社时候填充缺省值

parent 9b4e10d9
......@@ -2894,6 +2894,9 @@ public class BookGroupBizImpl implements BookGroupBiz {
List<Long> allAgentId=null;
if (isSpecial) {
allAgentId = wechatGroupConsr.getAllAgentId();
if (ListUtils.isEmpty(allAgentId)) {
allAgentId = Lists.newArrayList(-1L);
}
}
List<TopAgentBookGroupDTO> dtos = bookGroupDao.getTopAgentCreateBookGroup(joinGroupType, top, allAgentId);
if (!ListUtils.isEmpty(dtos)){
......
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