From 1496a2640408f000f31e01ebe90b5ef97237f5a1 Mon Sep 17 00:00:00 2001
From: zqy <2522236926@qq.com>
Date: 星期二, 19 八月 2025 19:42:46 +0800
Subject: [PATCH] 修改婚姻bug && 管理员修改用户信息时 同步修改用户姓名、性别、婚姻状态

---
 zhang-content/src/main/java/com/ruoyi/mapper/ZPropertyMapper.java |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/zhang-content/src/main/java/com/ruoyi/mapper/ZPropertyMapper.java b/zhang-content/src/main/java/com/ruoyi/mapper/ZPropertyMapper.java
index 7754b67..f8e8562 100644
--- a/zhang-content/src/main/java/com/ruoyi/mapper/ZPropertyMapper.java
+++ b/zhang-content/src/main/java/com/ruoyi/mapper/ZPropertyMapper.java
@@ -4,6 +4,9 @@
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.ruoyi.domain.ZProperty;
 import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Select;
+
+import java.util.List;
 
 /**
  * <p>
@@ -15,5 +18,6 @@
  */
 @Mapper
 public interface ZPropertyMapper extends BaseMapper<ZProperty> {
-
+    @Select("select distinct type from z_property")
+    List<String> listType();
 }

--
Gitblit v1.9.1