Commit 1c1f2977 by fanjiaxin

修改为定向计划

parent d93c6a5d
Pipeline #71801 passed with stages
in 56 seconds
......@@ -124,7 +124,8 @@ public class ProductServiceImpl implements IProductService {
}
pageVO.setList(productList);
boolean isEmpty = CollectionUtils.isEmpty(productList);
pageVO.setHasMore(!isEmpty && productList.size() >= pageQuery.getPageSize());
pageVO.setHasMore(StringUtils.isNotBlank(productListVO.getNext_key())
&& !isEmpty && productList.size() >= pageQuery.getPageSize());
pageVO.setNextKey(productListVO.getNext_key());
log.info("商品列表查询返回:{}", System.currentTimeMillis());
return pageVO;
......
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