From 1496a2640408f000f31e01ebe90b5ef97237f5a1 Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期二, 19 八月 2025 19:42:46 +0800 Subject: [PATCH] 修改婚姻bug && 管理员修改用户信息时 同步修改用户姓名、性别、婚姻状态 --- ruoyi-common/src/main/java/com/ruoyi/common/utils/MapUtils.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/utils/MapUtils.java b/ruoyi-common/src/main/java/com/ruoyi/common/utils/MapUtils.java index 1dee4e7..2d11112 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/utils/MapUtils.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/utils/MapUtils.java @@ -30,10 +30,10 @@ return data; } - public static HashMap<String,Object> getResult(Page pageResult, List record){ + public static HashMap<String,Object> getShareResult(Page pageResult, List record,long total){ HashMap<String, Object> data = new HashMap<>(); data.put("data",record); - data.put("total",record.size()); + data.put("total",total); data.put("pageNo",pageResult.getCurrent()); data.put("totalPage",pageResult.getTotal()); data.put("pageSize",pageResult.getSize()); -- Gitblit v1.9.1