diff --git a/renren-admin/src/main/java/io/renren/modules/fuse/service/impl/TbFuseServiceImpl.java b/renren-admin/src/main/java/io/renren/modules/fuse/service/impl/TbFuseServiceImpl.java index d7eac2bd..598b1272 100644 --- a/renren-admin/src/main/java/io/renren/modules/fuse/service/impl/TbFuseServiceImpl.java +++ b/renren-admin/src/main/java/io/renren/modules/fuse/service/impl/TbFuseServiceImpl.java @@ -176,6 +176,9 @@ public class TbFuseServiceImpl extends CrudServiceImpl dataResource = (Map) factory.get().getDataResource(dto); if (!dataResource.isEmpty()) { List> list = (List>) dataResource.get("data"); + if (list.size() < pageSize) { + end.set(false); + } pageIndex.getAndIncrement(); return new HashMap() {{ put(list.stream().map(map -> { @@ -205,9 +208,11 @@ public class TbFuseServiceImpl extends CrudServiceImpl