feat(backend): 生产接收接种量改为 VARCHAR(255) 自由文本
同步模型、API、CRUD 与 SQL 迁移/基线,支持数字与说明文案组合录入。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
bf6b080240
commit
2d6b367a67
5 files changed
+14
-5
No files matched your search
@@ -0,0 +1,5 @@
|
||||
-- 生产接收接种量:数值 → 自由文本(最长 255)
|
||||
-- 执行前请备份;MySQL 会将既有 decimal 值转为对应数字字符串。
|
||||
|
||||
ALTER TABLE biz_sample_production_reception
|
||||
MODIFY COLUMN inoculation_amount VARCHAR(255) NULL COMMENT '接种量';
|
||||
+1
-1
@@ -20617,7 +20617,7 @@ CREATE TABLE `biz_sample_production_reception` (
|
||||
`infectious_four_test_result` varchar(16) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '传染四项 zc正常 bzc不正常',
|
||||
`enriched_blood_weight_g` decimal(18,4) DEFAULT NULL COMMENT '富集后血量/g',
|
||||
`cryopreservation_volume_ml` decimal(18,4) DEFAULT NULL COMMENT '冻存液用量/ml',
|
||||
`inoculation_amount` decimal(18,4) DEFAULT NULL COMMENT '接种量',
|
||||
`inoculation_amount` varchar(255) DEFAULT NULL COMMENT '接种量',
|
||||
`cryopreservation_time` datetime DEFAULT NULL COMMENT '冻存时间',
|
||||
`storage_total_tubes` int(11) DEFAULT NULL COMMENT '储存总量(管)',
|
||||
`available_cell_count_1e7` decimal(18,4) DEFAULT NULL COMMENT '可提供细胞数量/*10E7',
|
||||
|
||||
Reference in new issue
Block a user