feat(customers): 区分注名称与经营名称,商户编号改为选填

新增必填商户经营名称,原商户名称改为注名称;列表/导出/导入与生日提醒同步展示。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-22 13:29:55 +08:00
co-authored by Cursor
parent 9c24ab95c5
commit e8d4df463e
13 changed files with 95 additions and 34 deletions
+6
View File
@@ -0,0 +1,6 @@
-- 商户表增加商户经营名称
-- 执行:本地与生产库均需执行;执行后运行 npm run prisma:generate
-- 历史行保持 NULL,新录入/导入必填
ALTER TABLE customers
ADD COLUMN business_name VARCHAR(500) NULL COMMENT '商户经营名称' AFTER customer_name;