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/ZHealthHabit.java | 133 +++++--------------------------------------- 1 files changed, 16 insertions(+), 117 deletions(-) diff --git a/zhang-content/src/main/java/com/ruoyi/domain/ZHealthHabit.java b/zhang-content/src/main/java/com/ruoyi/domain/ZHealthHabit.java index ffa517b..74bb025 100644 --- a/zhang-content/src/main/java/com/ruoyi/domain/ZHealthHabit.java +++ b/zhang-content/src/main/java/com/ruoyi/domain/ZHealthHabit.java @@ -3,6 +3,8 @@ import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; + import java.io.Serializable; /** @@ -14,138 +16,35 @@ * @since 2023-03-14 */ @TableName("z_health_habit") +@Data public class ZHealthHabit 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; // 鎵�灞炵敤鎴穒d - /** - * 楗鍠滃ソ涓庡繉鍙� - */ - private String eat; + private String eatGood; // 楗(鍠�) - /** - * 鐖卞ソ涓庡棞濂� - */ - private String hobby; + private String eatBad; // 楗(蹇�) - /** - * 鐫$湢鐘舵�� - */ - private String sleep; + private String hobby; // 鐖卞ソ - /** - * 澶т究鐘舵�� - */ - private String bigEgestion; + private String addition; // 鍡滃ソ - /** - * 灏忎究鐘舵�� - */ - private String smallEgestion; + private String sleep; // 鐫$湢鐘舵��(json) - /** - * 楗涔犳儻 - */ - private String eatType; + private String stoolStatus; // 澶т究瑙勫緥(json) - /** - * 鐢熸椿浜嬩欢 - */ - private String lifeType; + private String urineStatus; // 灏忎究瑙勫緥(json) + private String stool; // 澶т究 - public Integer getId() { - return id; - } + private String urine; // 灏忎究 - public void setId(Integer id) { - this.id = id; - } + private String eatType; // 楗涔犳儻(json) - public Integer getHid() { - return hid; - } - - public void setHid(Integer hid) { - this.hid = hid; - } - - public String getEat() { - return eat; - } - - public void setEat(String eat) { - this.eat = eat; - } - - public String getHobby() { - return hobby; - } - - public void setHobby(String hobby) { - this.hobby = hobby; - } - - public String getSleep() { - return sleep; - } - - public void setSleep(String sleep) { - this.sleep = sleep; - } - - public String getBigEgestion() { - return bigEgestion; - } - - public void setBigEgestion(String bigEgestion) { - this.bigEgestion = bigEgestion; - } - - public String getSmallEgestion() { - return smallEgestion; - } - - public void setSmallEgestion(String smallEgestion) { - this.smallEgestion = smallEgestion; - } - - public String getEatType() { - return eatType; - } - - public void setEatType(String eatType) { - this.eatType = eatType; - } - - public String getLifeType() { - return lifeType; - } - - public void setLifeType(String lifeType) { - this.lifeType = lifeType; - } - - @Override - public String toString() { - return "ZHealthHabit{" + - "id=" + id + - ", hid=" + hid + - ", eat=" + eat + - ", hobby=" + hobby + - ", sleep=" + sleep + - ", bigEgestion=" + bigEgestion + - ", smallEgestion=" + smallEgestion + - ", eatType=" + eatType + - ", lifeType=" + lifeType + - "}"; - } + private String lifeType; // 鐢熸椿浜嬩欢(json) } -- Gitblit v1.9.1