From ca86db8f662769014dcd561cf12b7e9f45745514 Mon Sep 17 00:00:00 2001 From: ziin Date: Tue, 23 Sep 2025 15:57:06 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=A4=A7=E5=93=A5=E6=B7=BB=E5=8A=A0=E7=B2=89?= =?UTF-8?q?=E4=B8=9D=E5=9B=A2=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yupi/springbootinit/model/entity/ServerBigBrother.java | 4 +++- src/main/resources/mapper/ServerBigBrotherMapper.xml | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/yupi/springbootinit/model/entity/ServerBigBrother.java b/src/main/java/com/yupi/springbootinit/model/entity/ServerBigBrother.java index 7687af1..5f3e4ed 100644 --- a/src/main/java/com/yupi/springbootinit/model/entity/ServerBigBrother.java +++ b/src/main/java/com/yupi/springbootinit/model/entity/ServerBigBrother.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer; import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer; +import io.swagger.models.auth.In; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; @@ -109,7 +110,8 @@ public class ServerBigBrother { private Long tenantId; @TableField(value = "create_time") - private LocalDateTime createTime; + @TableField(value = "fans_level") + private Integer fansLevel; } \ No newline at end of file diff --git a/src/main/resources/mapper/ServerBigBrotherMapper.xml b/src/main/resources/mapper/ServerBigBrotherMapper.xml index eb6d1c2..2ca39f3 100644 --- a/src/main/resources/mapper/ServerBigBrotherMapper.xml +++ b/src/main/resources/mapper/ServerBigBrotherMapper.xml @@ -19,11 +19,12 @@ + id, display_id, user_id_str, nickname, `level`, hostcoins, follower_count, following_count, region, historic_high_coins, total_gift_coins, host_display_id, owner_id, create_time, - update_time, creator, updater, deleted, tenant_id + update_time, creator, updater, deleted, tenant_id,fans_level \ No newline at end of file