|
|
|
@ -287,4 +287,46 @@ CREATE TABLE IF NOT EXISTS `third_ali_drug` (
|
|
|
|
|
UNIQUE KEY `nameCode` (`nameCode`),
|
|
|
|
|
KEY `approvalNum` (`approvalNum`) USING BTREE,
|
|
|
|
|
KEY `cpmctymc` (`cpmctymc`)
|
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('rel_code_batch', 'erpId',
|
|
|
|
|
' varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT ''供应商ID''',
|
|
|
|
|
1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('rel_code_batch', 'curCode',
|
|
|
|
|
' varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT ''当前码''',
|
|
|
|
|
1);
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('rel_code_batch', 'oneLevelCount',
|
|
|
|
|
'int NULL DEFAULT null COMMENT ''一级数量''',
|
|
|
|
|
1);
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('rel_code_batch', 'twoLevelCount',
|
|
|
|
|
'int NULL DEFAULT null COMMENT ''二级数量''',
|
|
|
|
|
1);
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('rel_code_batch', 'threeLevelCount',
|
|
|
|
|
'int NULL DEFAULT null COMMENT ''三级数量''',
|
|
|
|
|
1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('third_ali_drug', 'prepnUnit',
|
|
|
|
|
' varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT ''制剂单位描述''',
|
|
|
|
|
1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('third_ali_drug', 'prepnUnitName',
|
|
|
|
|
' varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT ''制剂单位描述''',
|
|
|
|
|
1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('third_ali_drug', 'physicDetailType',
|
|
|
|
|
' varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT ''药品详情类型''',
|
|
|
|
|
1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('third_ali_drug', 'physicDetailTypeDesc ',
|
|
|
|
|
' varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT ''药品类型详情描述''',
|
|
|
|
|
1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('third_ali_drug', 'physicTypeDesc',
|
|
|
|
|
' varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT ''药品类型描述''',
|
|
|
|
|
1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('third_ali_drug', 'packUnitName',
|
|
|
|
|
' varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT ''包装单位''',
|
|
|
|
|
1);
|