Commit 4c649de3 by fanjiaxin

修改为定向计划

parent 05b3c679
Pipeline #71803 passed with stages
in 1 minute 3 seconds
......@@ -119,9 +119,8 @@ public class ProductServiceImpl implements IProductService {
.collect(Collectors.toList());
}
pageVO.setList(productList);
boolean isEmpty = CollectionUtils.isEmpty(productList);
pageVO.setHasMore(StringUtils.isNotBlank(productListVO.getNext_key())
&& !isEmpty && productList.size() >= pageQuery.getPageSize());
&& !CollectionUtils.isEmpty(productList) && productList.size() >= pageQuery.getPageSize());
pageVO.setNextKey(productListVO.getNext_key());
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