From b02beccf4567068cb47a3f1181a00039456c872d Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期三, 06 八月 2025 15:37:20 +0800 Subject: [PATCH] 用户修改姓名和电话同步修改uaid --- zhang-content/src/main/java/com/ruoyi/domain/ZYearInfo.java | 115 +++++++++++++++++---------------------------------------- 1 files changed, 34 insertions(+), 81 deletions(-) diff --git a/zhang-content/src/main/java/com/ruoyi/domain/ZYearInfo.java b/zhang-content/src/main/java/com/ruoyi/domain/ZYearInfo.java index 38ea31a..b219f27 100644 --- a/zhang-content/src/main/java/com/ruoyi/domain/ZYearInfo.java +++ b/zhang-content/src/main/java/com/ruoyi/domain/ZYearInfo.java @@ -1,10 +1,17 @@ package com.ruoyi.domain; import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; +import lombok.Data; + import java.io.Serializable; import java.time.LocalDateTime; +import java.util.Date; /** * <p> @@ -15,124 +22,70 @@ * @since 2023-03-14 */ @TableName("z_year_info") +@Data public class ZYearInfo implements Serializable { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) - private Integer id; + private Long id; /** * 骞村害鍋ュ悍琛╥d */ - private Integer hid; + private Long uid; /** * 浣撴鏃堕棿 */ - private LocalDateTime checkTime; + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "浣撴鏃堕棿") + private Date checkTime; + + @TableField(exist = false) + @JsonFormat(pattern = "yyyy-MM-dd") + private Date happenStartTime; + + @TableField(exist = false) + @JsonFormat(pattern = "yyyy-MM-dd") + private Date happenEndTime; /** - * 鐪嬬梾锛�0銆佷綋妫�锛�1 + * 绫诲瀷 */ - private Integer type; + @Excel(name = "绫诲瀷") + private String type; /** * 灏辫瘖鍖婚櫌 */ + @Excel(name = "灏辫瘖鍖婚櫌") private String hospital; /** * 棰樺悕 */ + @Excel(name = "棰樺悕") private String title; /** * 娉ㄦ剰浜嬮」 */ + @Excel(name = "娉ㄦ剰浜嬮」") private String notice; /** * 澶囨敞 */ + @Excel(name = "澶囨敞") private String remark; + /** + * 鍒涘缓鏃堕棿 + */ + @JsonFormat(pattern = "yyyy-MM-dd") + private Date createTime; - public Integer getId() { - return id; - } + private String url; - public void setId(Integer id) { - this.id = id; - } - - public Integer getHid() { - return hid; - } - - public void setHid(Integer hid) { - this.hid = hid; - } - - public LocalDateTime getCheckTime() { - return checkTime; - } - - public void setCheckTime(LocalDateTime checkTime) { - this.checkTime = checkTime; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - public String getHospital() { - return hospital; - } - - public void setHospital(String hospital) { - this.hospital = hospital; - } - - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public String getNotice() { - return notice; - } - - public void setNotice(String notice) { - this.notice = notice; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - @Override - public String toString() { - return "ZYearInfo{" + - "id=" + id + - ", hid=" + hid + - ", checkTime=" + checkTime + - ", type=" + type + - ", hospital=" + hospital + - ", title=" + title + - ", notice=" + notice + - ", remark=" + remark + - "}"; - } } -- Gitblit v1.9.1