From 953e5ec79b006bf60ca1238863e364541ef4aeba Mon Sep 17 00:00:00 2001 From: xiao-fajia <1665375861@qq.com> Date: Sat, 24 Aug 2024 19:39:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=91=E6=8F=B4=E9=9B=86=E6=88=904/5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../rescue/controller/admin/RescueInfoSystem.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dl-module-rescue/src/main/java/cn/iocoder/yudao/module/rescue/controller/admin/RescueInfoSystem.java b/dl-module-rescue/src/main/java/cn/iocoder/yudao/module/rescue/controller/admin/RescueInfoSystem.java index 97ea866c..bf27d801 100644 --- a/dl-module-rescue/src/main/java/cn/iocoder/yudao/module/rescue/controller/admin/RescueInfoSystem.java +++ b/dl-module-rescue/src/main/java/cn/iocoder/yudao/module/rescue/controller/admin/RescueInfoSystem.java @@ -322,10 +322,14 @@ public class RescueInfoSystem extends BaseController { @RequestParam(value = "pageSize", defaultValue = "10") Integer pageSize) { Page page = new Page<>(pageNo, pageSize); IPage rescueInfos = rescueInfoService.getRescueInfoByDriver(rescueInfo, page); - TableDataInfo dataTable = getDataTable(rescueInfos.getRecords()); List list = rescueInfoService.moneyManagement2(rescueInfos.getRecords(), rescueInfo.getRescueStart()); - dataTable.setRows(list); - return success(dataTable); + IPage result = new Page<>(pageNo, pageSize); + result.setRecords(list); + result.setTotal(rescueInfos.getTotal()); + result.setCurrent(rescueInfos.getCurrent()); + result.setPages(rescueInfos.getPages()); + result.setSize(rescueInfos.getSize()); + return success(result); } /**