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 |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 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 9003b2d..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
@@ -3,6 +3,7 @@
 import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 
 import java.util.HashMap;
+import java.util.List;
 
 /**
  * @Version 1.0
@@ -28,4 +29,14 @@
         data.put("pageSize",pageResult.getSize());
         return data;
     }
+
+    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",total);
+        data.put("pageNo",pageResult.getCurrent());
+        data.put("totalPage",pageResult.getTotal());
+        data.put("pageSize",pageResult.getSize());
+        return data;
+    }
 }

--
Gitblit v1.9.1