新增功能

This commit is contained in:
Your Name
2026-03-04 15:32:30 +08:00
parent a07e844c47
commit ab77f5488d
2266 changed files with 177942 additions and 3444 deletions
+8
View File
@@ -0,0 +1,8 @@
-- 修改预约表的 period 字段,允许存储 'all' 值
-- 将 ENUM 改为 VARCHAR 以支持更灵活的时段类型
ALTER TABLE `la_doctor_appointment`
MODIFY COLUMN `period` varchar(20) NOT NULL DEFAULT 'all' COMMENT '时段:morning=上午,afternoon=下午,all=全天';
-- 更新现有数据(如果需要)
-- UPDATE `la_doctor_appointment` SET `period` = 'all' WHERE `period` = '';