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/domain/ZfProperty.java | 48 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 46 insertions(+), 2 deletions(-) diff --git a/zhang-content/src/main/java/com/ruoyi/domain/ZfProperty.java b/zhang-content/src/main/java/com/ruoyi/domain/ZfProperty.java index 02ed3d7..be9d73a 100644 --- a/zhang-content/src/main/java/com/ruoyi/domain/ZfProperty.java +++ b/zhang-content/src/main/java/com/ruoyi/domain/ZfProperty.java @@ -6,6 +6,8 @@ import com.ruoyi.common.annotation.Excel; import lombok.Data; import lombok.ToString; +import org.springframework.format.annotation.DateTimeFormat; + import java.io.Serializable; import java.time.LocalDate; import java.time.LocalDateTime; @@ -51,9 +53,51 @@ @Excel(name="澶囨敞") private String remark; - @Excel(name="鍒涘缓鏃堕棿") - private LocalDateTime createTime; + /** + * 鍒涘缓鏃堕棿 + */ + @JsonFormat(pattern = "yyyy-MM-dd") + private Date createTime; + + /** + * 鍙戠敓鏃堕棿 + */ + @Excel(name = "鏃堕棿", dateFormat = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") + private Date happenTime; private String url; + /** + * 瀹跺涵id + */ + @Excel(name = "鎵�灞炲搴紪鍙�(瀵煎叆鏁版嵁鏃惰鍒犻櫎姝ゆ爮)") + private Long familyId; + + /** + * 鏄惁鏄湰瀹跺涵鐨勬暟鎹�(0:涓嶆槸,1:鏄�) + */ + @TableField(exist = false) + private Integer ownData = 0; + + /** + * 鏁版嵁鐘舵�� + */ + @Excel(name = "鏄惁娉ㄩ攢",readConverterExp = "0=姝e父,1=宸叉敞閿�") + private Integer status; + + /** + * 寮�濮嬫椂闂� + */ + @TableField(exist = false) + private Date happenStartTime; + + /** + * 缁撴潫鏃堕棿 + */ + @TableField(exist = false) + private Date happenEndTime; + + private Integer shareId; + } -- Gitblit v1.9.1