From 4cfbbdda45f8b10bacd0420676437edde58f20ff Mon Sep 17 00:00:00 2001 From: liwen Date: Tue, 13 Aug 2024 15:52:23 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E5=AE=89=E5=85=A8=E5=B7=A5=E5=99=A8?= =?UTF-8?q?=E5=85=B7=E7=B1=BB=E5=9E=8B=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hnac/hzims/safeproduct/service/impl/SafetyToolTypeServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) 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; }