Commit Graph
37 Commits
Author SHA1 Message Date
zlwu e6b4b9a8d7 提交 2026-05-20 20:41:47 +08:00
zlwu c6c3a37fa7 提交 2026-05-20 18:06:21 +08:00
zlwu 276299ff27 提交 2026-05-20 15:10:55 +08:00
zlwu 27ac28b8f5 提交 2026-05-20 14:53:16 +08:00
zlwu dc31968204 提交 2026-05-20 14:32:07 +08:00
zlwu 15ed25e33b 提交 2026-05-20 09:30:10 +08:00
zlwu be4fab78e1 提交 2026-05-20 09:28:36 +08:00
zlwu e6072457fd feat(qc): implement material library with CRUD, stock-in, usage tracking and task deduction 2026-05-20 06:36:50 +08:00
zlwu 4137c54588 feat(qc): add SQLAlchemy models for QC material and usage 2026-05-20 06:27:40 +08:00
zlwu 18132c8034 feat(qc): add DDL for QC material library and usage tables 2026-05-20 06:26:24 +08:00
zlwu c55bc55138 fix(models): remove relationship declarations that require ForeignKey constraints
The project does not use SQLAlchemy ORM-level relationships or ForeignKey
constraints. All joins are done manually in CRUD queries. The relationship()
declarations on BizProductionWorkOrder.tasks and BizProductionTask.steps
caused mapper initialization failures because the child table columns lack
ForeignKey definitions.
2026-05-20 05:19:20 +08:00
zlwu f464c22b9e feat(production): add production work order management page 2026-05-20 00:59:51 +08:00
zlwu eec59de5dc feat(production): add production task execution page 2026-05-20 00:57:02 +08:00
zlwu 5f8eac3523 feat(production): add cell product management page 2026-05-20 00:56:53 +08:00
zlwu 375c975c33 feat(router): add frontend routes for cell product, work order, and task 2026-05-20 00:56:45 +08:00
zlwu 2d3f55918f feat(production): trigger production work order on sample reception 2026-05-20 00:56:34 +08:00
zlwu b303afb272 feat(crud): add cell product CRUD operations 2026-05-20 00:56:24 +08:00
zlwu 96a0c394c2 feat(api): add production work order, production task, and cell product API modules 2026-05-20 00:25:09 +08:00
zlwu 4b676886b0 feat: append 21 API routes for work orders, production tasks, and cell products to production router 2026-05-20 00:22:21 +08:00
zlwu fb7846f2ed feat(crud): add production task CRUD with route-cloning logic 2026-05-20 00:11:57 +08:00
zlwu 9d9f43579d feat(crud): add production work order CRUD operations 2026-05-20 00:10:35 +08:00
zlwu 026b040db5 feat(schemas): add production module Pydantic schemas
Create 3 schema files for the production module:
- production_work_order.py: work order base, list query, complete
- production_task.py: task CRUD, steps, materials, outputs, inputs
- cell_product.py: cell product create, update, list query
2026-05-20 00:09:21 +08:00
zlwu 61f217eea5 feat(models): 新增10个生产执行相关SQLAlchemy模型
新增细胞产品、生产工单、生产任务及关联的投入/步骤/试剂/耗材/产出/数据采集等模型类,
支持工单→任务→步骤的relationship关联查询。
2026-05-20 00:05:24 +08:00
zlwu 67ba7c48d5 feat(production): add DDL for 10 production tables and 3 menus
Create docs/sql/production_work_order.sql with:
- 10 CREATE TABLE IF NOT EXISTS statements for production work order module
- 3 sys_menu INSERT statements under 生产管理 parent menu
2026-05-19 23:59:55 +08:00
zlwu 3b875ec370 提交 2026-05-19 23:12:56 +08:00
zlwu 93cd506a90 提交 2026-05-19 12:03:08 +08:00
zlwu f269a994f4 提交 2026-05-18 16:21:38 +08:00
zlwu 2a4767a014 提交 2026-05-17 23:08:38 +08:00
zlwu 135dd550b6 提交 2026-05-17 12:36:40 +08:00
zlwu 62cfb8fbbf 提交 2026-05-17 12:31:11 +08:00
zlwu e5ba8f097a 提交 2026-05-17 09:05:10 +08:00
zlwu 8e2dd8b9f0 提交 2026-05-17 08:36:37 +08:00
zlwuandCursor 246ad2228e docs: add cell storage protocol modules design for 2.2.6–2.2.10
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-13 17:48:22 +08:00
zlwu 058811ae77 提交 2026-05-12 22:07:53 +08:00
zlwuandCursor c87732fcd5 将 web-admin 从子模块改为仓库内普通目录,便于单仓克隆与维护。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-12 16:41:08 +08:00
zlwu 2e9d020d50 提交 2026-05-12 16:35:07 +08:00
zlwu d336fd0226 提交 2026-05-12 14:42:05 +08:00