feat(customers): 增加商户编号并补齐生日提醒信息

录入、列表和导入导出带上商户编号。生日提醒展示与录入一致的商户资料,旧阴历生日仍按农历提醒。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-11 14:55:24 +08:00
co-authored by Cursor
parent d981e53330
commit c81962b732
15 changed files with 214 additions and 172 deletions
+6
View File
@@ -0,0 +1,6 @@
-- 商户表增加商户编号(数字+字母,区分大小写,不限位数)
-- 执行:本地与生产库均需执行;执行后运行 npm run prisma:generate
-- 历史行保持 NULL,新录入/导入必填
ALTER TABLE customers
ADD COLUMN customer_no TEXT NULL COMMENT '商户编号' AFTER customer_name;