Commit Graph
139 Commits
Author SHA1 Message Date
zlwu 0e64b413ce feat(oa): add permission-controlled shared finance remarks to done center
Share one finance remark per approval instance across Web and mobile. Require the explicit permission and the current tenant user's own done task for every read and write; keep general instance responses free of financial remarks.

Add idempotent MySQL migration without automatic role grants, cross-end editors, isolated backend and frontend tests, and rollout requirements. Refs #7; platform validation and target database migration remain pending.
2026-10-30 20:42:05 +08:00
zlwu b6080571ff chore(sql): 清空历史数据库导出内容
移除 zkxw.sql 中的历史业务导出及连接信息,避免在当前版本继续携带业务数据;保留文件路径以兼容现有打包引用。该文件现为空,不再提供数据库初始化内容,空库部署仍需另行补齐并验证基线。
2026-10-30 10:02:31 +08:00
zlwuandCursor 5e563a6669 fix: 子表保存改为就地同步,避免整批换 id 打断外键。
协议样本、生产产出和盘点明细按行更新并保留原 id;补齐存储证明质检预填、离职人员显示名,以及样本采集通知模板字段。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-28 10:51:53 +08:00
zlwuandCursor 5dad1bb0e3 fix: 协议子资源单事务保存,并补齐样本编码/OA/质检等近期能力
锁定缴费校验失败时整单回滚,避免样本半成功落库;前端禁止删除锁定缴费样本,改码走更正编码。同步落地样本更正、采集微信通知、OA提及未读、细胞产品套餐与相关迁移文档。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-26 11:02:25 +08:00
zlwuandCursor 92c59d67b4 feat: 为运费批次增加顺丰单号和结算字段,并补上顺丰月结菜单
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-21 17:58:43 +08:00
zlwu be2226e4ca 提交 2026-10-17 11:46:53 +08:00
zlwuandCursor e5ae28f0c7 docs(sql): seed oa:done:bank-receipt button permission
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 16:58:24 +08:00
zlwu 06d021807b 提交 2026-10-15 23:21:07 +08:00
zlwu 3950b5c334 提交 2026-10-14 12:32:03 +08:00
zlwu cc843535f5 提交 2026-10-13 15:18:01 +08:00
zlwuandCursor e0ef78925a feat(db): add research donation monthly_verify_no column
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-13 12:05:54 +08:00
zlwuandCursor da35921f58 docs(sql): add sample-level storage cert and insurance with migrate-from-protocol.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-13 10:43:36 +08:00
zlwuandCursor 8618141c2f docs(sql): add customer-service tables and rename sample-info menu.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-13 10:42:34 +08:00
zlwuandCursor a5bf4252b9 chore: rename payment-confirm menu to 缴费财务确认
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 18:10:14 +08:00
zlwu 337d31bbe8 feat: integrate required mobile market backend dependencies. 2026-10-11 12:00:52 +08:00
zlwuandCursor db31990ebe feat: 细胞存储缴费催缴、统一样本信息与协议支付能力增强
汇总近期业务改动:催缴菜单与后端、样本信息快捷登记与进度、运费关联、客户档案扩展、协议优惠/期次与押金划转,并同步 SQL 迁移与管理端页面收敛。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-10 21:20:37 +08:00
zlwuandCursor fac7b87728 feat(db): add biz_sample_storage_cert_qc for storage-cert QC payload.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-09 12:31:13 +08:00
zlwuandCursor 04eb1e81bd feat: add sample freight menu route and page shell
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-08 09:51:48 +08:00
zlwuandCursor 719bf20c5b docs(sql): add sample freight batch tables and transport mode dict
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 23:15:02 +08:00
zlwuandCursor fc14c51348 feat(db): add father/newborn customer ids on protocol parties
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 16:03:11 +08:00
zlwuandCursor ed37a31654 docs(sql): add migration to hide research-donation protocol menus for DB menu mode.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 12:18:51 +08:00
zlwuandCursor cf4b8c0e56 feat(db): add handle_time and handler_user_id for storage cert and fullmoon todo.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-05 15:56:44 +08:00
zlwuandCursor d5bfb895a7 chore: menu SQL, graph sync, and mark payment-info split done
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-05 13:12:16 +08:00
zlwuandCursor ca3d464761 feat: add per-sample payment and presign order schema
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 10:52:20 +08:00
zlwu b9b4cc2673 提交 2026-09-24 09:59:26 +08:00
zlwuandCursor 8d90457cdc feat(oa): add oa_instance_comment table and model
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-20 21:18:59 +08:00
zlwuandCursor 0be6545078 docs(sql): add biz_collection_region_staff migration
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 11:20:01 +08:00
zlwu 195c89e6b7 提交 2026-09-03 17:12:38 +08:00
zlwu 03226cac2a 提交 2026-09-01 14:22:46 +08:00
zlwu 2fd826dbe1 提交 2026-09-01 11:32:49 +08:00
zlwuandCursor 2d6b367a67 feat(backend): 生产接收接种量改为 VARCHAR(255) 自由文本
同步模型、API、CRUD 与 SQL 迁移/基线,支持数字与说明文案组合录入。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 15:00:02 +08:00
zlwu 0d52442902 提交 2026-08-28 17:38:37 +08:00
zlwuandCursor 38b4d6803f docs(sql): seed oa:start:history:all button permission
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 10:51:28 +08:00
zlwu a2d4d3b0d5 提交 2026-08-25 16:47:43 +08:00
zlwu d2290eb92c 提交 2026-08-25 09:19:31 +08:00
zlwuandCursor 83d417b6e6 docs(sql): add external_target_code on biz_qc_work_order
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 10:33:17 +08:00
zlwu c7a7b6fa45 提交 2026-08-19 16:33:51 +08:00
zlwuandCursor 0a5bf28e58 feat: allow empty fields on qc material month template rows
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 13:06:35 +08:00
zlwuandCursor c591dab5ff docs(sql): add qc material month import template table
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 12:40:34 +08:00
zlwuandCursor 742021be3c docs: add storage release dual-gate schema and data migration SQL.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:27:59 +08:00
zlwu cd8ab170ba 提交 2026-08-19 10:45:07 +08:00
zlwu 1618035e4b 提交 2026-08-19 09:18:20 +08:00
zlwu 21e772db3a 提交 2026-08-18 17:23:46 +08:00
zlwuandCursor d850fd0027 fix: paste production task set SQL into the production sync script
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 15:33:08 +08:00
zlwuandCursor 9ac29e6ad7 feat: add production task set schema and menu SQL
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 15:11:44 +08:00
zlwu d2792174b5 提交 2026-08-18 14:40:15 +08:00
zlwuandCursor 5ec7537b92 docs(sql): add production waste-output menu migration.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 11:28:59 +08:00
zlwuandCursor bb81170b89 chore: sync baseline SQL and graphify for item templates.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 12:47:05 +08:00
zlwuandCursor 15af9894bc docs(sql): add QC inspection item template table and menu.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 12:40:50 +08:00
zlwuandCursor 3a6e2ca128 fix(sql): avoid MySQL 1093 on production pre-transit role grants.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 12:10:20 +08:00