From 363bcb83c6e4bf2ca8bbc1e2d577940674d240ec Mon Sep 17 00:00:00 2001 From: jsh <1209700525@qq.com> Date: Sun, 12 Oct 2025 14:27:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=BF=98=E6=9C=89?= =?UTF-8?q?=E5=A4=9A=E5=B0=91=E5=A4=A9=E5=8F=98=E6=88=90=E8=B4=9F=E6=95=B0?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/schema.sql | 2 +- .../com/dota/nexus/service/impl/AnniversaryServiceImpl.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/db/schema.sql b/db/schema.sql index b515d1f..45a44a5 100644 --- a/db/schema.sql +++ b/db/schema.sql @@ -36,7 +36,7 @@ create table habit_record update_time datetime null, name varchar(100) not null, date date not null comment '重要的日期', - type enum ('anniversary', 'commemoration') default 'anniversary' not null + type enum ('ANNIVERSARY', 'COMMEMORATION') default 'ANNIVERSARY' not null ) comment '周年纪念日'; diff --git a/src/main/java/com/dota/nexus/service/impl/AnniversaryServiceImpl.java b/src/main/java/com/dota/nexus/service/impl/AnniversaryServiceImpl.java index 741b310..4950d63 100644 --- a/src/main/java/com/dota/nexus/service/impl/AnniversaryServiceImpl.java +++ b/src/main/java/com/dota/nexus/service/impl/AnniversaryServiceImpl.java @@ -35,9 +35,9 @@ public class AnniversaryServiceImpl extends ServiceImpl