diff --git a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/SafetyToolTypeServiceImpl.java b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/SafetyToolTypeServiceImpl.java index 39bc18d..3d6dffb 100644 --- a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/SafetyToolTypeServiceImpl.java +++ b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/SafetyToolTypeServiceImpl.java @@ -144,6 +144,9 @@ public class SafetyToolTypeServiceImpl extends ServiceImpl safetyToolTypePages = super.page(Condition.getPage(query), queryWrapper); IPage pages = new Page<>(); pages.setRecords(SafetyToolTypeWrapper.build().listVO(safetyToolTypePages.getRecords())); + pages.setTotal(safetyToolTypePages.getTotal()); + pages.setCurrent(safetyToolTypePages.getCurrent()); + pages.setSize(safetyToolTypePages.getSize()); return pages; }