refactor: 按甲方确认重构为一款多码(档案编号标识款、批次码、按款统计)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Nixevol
2026-06-30 12:02:44 +08:00
co-authored by Cursor
parent 67c5887f8f
commit a16e6f1165
34 changed files with 445 additions and 353 deletions
+6
View File
@@ -0,0 +1,6 @@
-- 仅本地开发用:授予业务账号建库权限,便于 Prisma `migrate dev` 创建 shadow 数据库。
-- 该脚本仅在 MySQL 容器「首次初始化数据卷」时自动执行(docker-entrypoint-initdb.d)。
-- 生产编排(docker-compose.full.yml)不挂载本脚本,业务账号仍仅限本库权限。
-- 账号名需与 config.yaml -> database.user 一致(默认 artveris)。
GRANT ALL PRIVILEGES ON *.* TO 'artveris'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;