This commit is contained in:
zlwu committed 2026-06-30 09:19:06 +08:00
1 parent 1ca2668112
commit 5b3edb1700
278 files changed
+53761 -36931

No files matched your search

@@ -0,0 +1,36 @@
-- 生产部门样本接收登记(与 biz_sample_reception 1:1)
CREATE TABLE IF NOT EXISTS `biz_sample_production_reception` (
`id` varchar(64) NOT NULL COMMENT '主键ID',
`reception_id` varchar(64) NOT NULL COMMENT '关联 biz_sample_reception.id',
`sample_code` varchar(32) DEFAULT NULL COMMENT '样本编码快照',
`reception_source` varchar(20) NOT NULL DEFAULT 'cell_storage' COMMENT '来源 cell_storage/research_donation',
`sample_type_name` varchar(100) DEFAULT NULL COMMENT '样本类型名称快照',
`handler_user_id` varchar(64) DEFAULT NULL COMMENT '处理人用户ID',
`handler_name` varchar(100) DEFAULT NULL COMMENT '处理人姓名',
`process_time` datetime NOT NULL COMMENT '处理时间',
`original_blood_weight_g` decimal(18,4) DEFAULT NULL COMMENT '原血重量/g',
`hes_volume_ml` decimal(18,4) DEFAULT NULL COMMENT 'HES用量/ml',
`blood_type` varchar(32) DEFAULT NULL COMMENT '血型',
`infectious_four_test_result` varchar(16) 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 '接种量',
`cryopreservation_time` datetime DEFAULT NULL COMMENT '冻存时间',
`storage_total_tubes` int DEFAULT NULL COMMENT '储存总量(管)',
`available_cell_count_1e7` decimal(18,4) DEFAULT NULL COMMENT '可提供细胞数量/*10E7',
`original_blood_volume_ml` decimal(18,4) DEFAULT NULL COMMENT '原血体积/ml',
`nucleated_cell_count_1e8` decimal(18,4) DEFAULT NULL COMMENT '有核细胞数/10E8',
`tenant_no` varchar(64) NOT NULL DEFAULT 'zkxw',
`order_num` int DEFAULT NULL,
`remark` varchar(512) DEFAULT NULL,
`create_by` varchar(64) DEFAULT NULL,
`create_dept_id` varchar(64) NOT NULL DEFAULT '',
`create_time` datetime NOT NULL,
`update_by` varchar(64) DEFAULT NULL,
`update_time` datetime NOT NULL,
`del_flag` smallint NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `uk_reception_id` (`reception_id`,`del_flag`),
KEY `idx_sample_code` (`tenant_no`,`sample_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='生产部门样本接收登记';