|
@@ -408,7 +408,7 @@ CREATE TABLE IF NOT EXISTS `adm_model_file` (
|
|
|
CREATE TABLE IF NOT EXISTS `boss_sku_dict_rel` (
|
|
|
`id` varchar(40) COLLATE utf8mb4_general_ci NOT NULL,
|
|
|
`sku_code` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'BOSS:商品编码',
|
|
|
- `type_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'BDTP:对象类型编码',
|
|
|
+ `class_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'BDTP:对象类型编码',
|
|
|
`obj_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '对象类型',
|
|
|
`creator` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人',
|
|
|
`creation_time` char(14) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建时间',
|
|
@@ -419,19 +419,19 @@ CREATE TABLE IF NOT EXISTS `boss_sku_dict_rel` (
|
|
|
PRIMARY KEY (`id`)
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='BOSS商品sku与数据字典关系映射表';
|
|
|
|
|
|
-CREATE TABLE IF NOT EXISTS `boss_project_delivery_plan` (
|
|
|
- `id` varchar(40) COLLATE utf8mb4_general_ci NOT NULL,
|
|
|
- `project_id` int DEFAULT NULL COMMENT '项目id(BOSS)',
|
|
|
- `plan_id` int DEFAULT NULL COMMENT '商品所属计划Id',
|
|
|
- `plan_info_id` int NOT NULL COMMENT '验收商品id',
|
|
|
- `product_sku_code` varchar(40) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '商品编码',
|
|
|
- `product_num` int DEFAULT NULL COMMENT '商品对应的实施数量',
|
|
|
- `steward_account` varchar(40) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '管家账号',
|
|
|
- `creator` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人',
|
|
|
- `creation_time` char(14) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建时间',
|
|
|
- `modifier` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '最后修改人',
|
|
|
- `modified_time` char(14) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '最后修改时间',
|
|
|
- `valid` tinyint NOT NULL DEFAULT '1' COMMENT '合法标识',
|
|
|
- `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '乐观锁',
|
|
|
- PRIMARY KEY (`id`)
|
|
|
-) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci='BOSS项目交付计划';
|
|
|
+CREATE TABLE IF NOT EXISTS "boss_project_delivery_plan" (
|
|
|
+ "id" varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
|
|
+ "project_id" int DEFAULT NULL COMMENT '项目id(BOSS)',
|
|
|
+ "plan_id" int DEFAULT NULL COMMENT '商品所属计划Id',
|
|
|
+ "plan_info_id" int NOT NULL COMMENT '验收商品id',
|
|
|
+ "product_sku_code" varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '商品编码',
|
|
|
+ "product_num" int DEFAULT NULL COMMENT '商品对应的实施数量',
|
|
|
+ "steward_account" varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '管家账号',
|
|
|
+ "creator" varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人',
|
|
|
+ "creation_time" char(14) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建时间',
|
|
|
+ "modifier" varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '最后修改人',
|
|
|
+ "modified_time" char(14) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '最后修改时间',
|
|
|
+ "valid" tinyint NOT NULL DEFAULT '1' COMMENT '合法标识',
|
|
|
+ "ts" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '乐观锁',
|
|
|
+ PRIMARY KEY ("id")
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|