fix: 商品列表超限不返回数量修复
This commit is contained in:
@@ -173,7 +173,7 @@ public class ProductService {
|
||||
});
|
||||
}
|
||||
PageInfo pageInfo=new PageInfo(tbProductWithBLOBs);
|
||||
pageInfo.setList(pageInfo.isIsLastPage() ? pageInfo.getList() : new ArrayList());
|
||||
pageInfo.setList(page <= pageInfo.getNavigateLastPage() ? pageInfo.getList() : new ArrayList());
|
||||
return Result.success(CodeEnum.SUCCESS,pageInfo);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user