|
|
@ -69,7 +69,7 @@ CREATE TABLE `hzims_train_record` ( |
|
|
|
`train_record_name` varchar(50) NOT NULL DEFAULT '' COMMENT '培训记录名称', |
|
|
|
`train_record_name` varchar(50) NOT NULL DEFAULT '' COMMENT '培训记录名称', |
|
|
|
`code` varchar(50) NOT NULL COMMENT '编号', |
|
|
|
`code` varchar(50) NOT NULL COMMENT '编号', |
|
|
|
`people_name` varchar(5000) DEFAULT '' COMMENT '培训学员', |
|
|
|
`people_name` varchar(5000) DEFAULT '' COMMENT '培训学员', |
|
|
|
`content` mediumtext DEFAULT '' COMMENT '培训内容', |
|
|
|
`content` mediumtext COMMENT '培训内容', |
|
|
|
`actual_start_time` datetime DEFAULT NULL COMMENT '实际培训开始时间', |
|
|
|
`actual_start_time` datetime DEFAULT NULL COMMENT '实际培训开始时间', |
|
|
|
`actual_end_time` datetime DEFAULT NULL COMMENT '实际培训结束时间', |
|
|
|
`actual_end_time` datetime DEFAULT NULL COMMENT '实际培训结束时间', |
|
|
|
`command` varchar(250) DEFAULT NULL COMMENT '培训评价', |
|
|
|
`command` varchar(250) DEFAULT NULL COMMENT '培训评价', |
|
|
@ -153,7 +153,7 @@ CREATE TABLE `hzims_conference_record` ( |
|
|
|
`actual_start_time` datetime DEFAULT NULL COMMENT '会议实际开始时间', |
|
|
|
`actual_start_time` datetime DEFAULT NULL COMMENT '会议实际开始时间', |
|
|
|
`actual_end_time` datetime DEFAULT NULL COMMENT '会议实际结束时间', |
|
|
|
`actual_end_time` datetime DEFAULT NULL COMMENT '会议实际结束时间', |
|
|
|
`recorder` varchar(20) DEFAULT '' COMMENT '记录人', |
|
|
|
`recorder` varchar(20) DEFAULT '' COMMENT '记录人', |
|
|
|
`content` mediumtext DEFAULT '' DEFAULT '' COMMENT '会议内容', |
|
|
|
`content` mediumtext COMMENT '会议内容', |
|
|
|
`img_path` varchar(1000) NOT NULL DEFAULT '' COMMENT '会议图片', |
|
|
|
`img_path` varchar(1000) NOT NULL DEFAULT '' COMMENT '会议图片', |
|
|
|
`file_path` varchar(1000) NOT NULL DEFAULT '' COMMENT '会议附件', |
|
|
|
`file_path` varchar(1000) NOT NULL DEFAULT '' COMMENT '会议附件', |
|
|
|
`create_user` bigint(20) NOT NULL DEFAULT '-1' COMMENT '创建人', |
|
|
|
`create_user` bigint(20) NOT NULL DEFAULT '-1' COMMENT '创建人', |
|
|
@ -168,7 +168,8 @@ CREATE TABLE `hzims_conference_record` ( |
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `hzims_hygiene_plan` ( |
|
|
|
CREATE TABLE `hzims_hygiene_plan` ( |
|
|
|
`id` bigint(20) NOT NULL COMMENT '主键id', |
|
|
|
`id` bigint(20) NOT NULL COMMENT '主键id', |
|
|
|
`code` varchar(50) NOT NULL COMMENT '编码', |
|
|
|
`unit` varchar(50) NOT NULL COMMENT '单位', |
|
|
|
|
|
|
|
`name` varchar(50) NOT NULL COMMENT '名称', |
|
|
|
`standard_score` int(10) NOT NULL DEFAULT '100' COMMENT '标准总分值', |
|
|
|
`standard_score` int(10) NOT NULL DEFAULT '100' COMMENT '标准总分值', |
|
|
|
`scheduled_start_time` date NOT NULL COMMENT '计划开始时间', |
|
|
|
`scheduled_start_time` date NOT NULL COMMENT '计划开始时间', |
|
|
|
`scheduled_end_time` date NOT NULL COMMENT '计划结束时间', |
|
|
|
`scheduled_end_time` date NOT NULL COMMENT '计划结束时间', |
|
|
@ -210,7 +211,7 @@ CREATE TABLE `hzims_hygiene_record` ( |
|
|
|
`check_user` varchar(20) NOT NULL DEFAULT '' COMMENT '检查人', |
|
|
|
`check_user` varchar(20) NOT NULL DEFAULT '' COMMENT '检查人', |
|
|
|
`hygiene_zone_ids` varchar(1000) NOT NULL COMMENT '卫生自查区域id', |
|
|
|
`hygiene_zone_ids` varchar(1000) NOT NULL COMMENT '卫生自查区域id', |
|
|
|
`check_result` mediumtext NOT NULL COMMENT '检查结果', |
|
|
|
`check_result` mediumtext NOT NULL COMMENT '检查结果', |
|
|
|
`comprehensive_score` int(10) NOT NULL COMMENT '综合评分', |
|
|
|
`comprehensive_score` varchar(500) NOT NULL COMMENT '综合评分', |
|
|
|
`week_num` int(10) NOT NULL COMMENT '周数', |
|
|
|
`week_num` int(10) NOT NULL COMMENT '周数', |
|
|
|
`img_path` varchar(1000) NOT NULL DEFAULT '' COMMENT '检查图片', |
|
|
|
`img_path` varchar(1000) NOT NULL DEFAULT '' COMMENT '检查图片', |
|
|
|
`create_user` bigint(20) NOT NULL DEFAULT '-1' COMMENT '创建人', |
|
|
|
`create_user` bigint(20) NOT NULL DEFAULT '-1' COMMENT '创建人', |
|
|
@ -258,8 +259,8 @@ CREATE TABLE `hzims_car_maintenance` ( |
|
|
|
`code` varchar(50) NOT NULL COMMENT '编号', |
|
|
|
`code` varchar(50) NOT NULL COMMENT '编号', |
|
|
|
`maintenance_type` varchar(50) NOT NULL COMMENT '维保类型', |
|
|
|
`maintenance_type` varchar(50) NOT NULL COMMENT '维保类型', |
|
|
|
`content` mediumtext NOT NULL COMMENT '维保内容', |
|
|
|
`content` mediumtext NOT NULL COMMENT '维保内容', |
|
|
|
`start_time` date NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '维保开始时间', |
|
|
|
`start_time` date NOT NULL COMMENT '维保开始时间', |
|
|
|
`end_time` date NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '维保结束时间', |
|
|
|
`end_time` date NOT NULL COMMENT '维保结束时间', |
|
|
|
`location` varchar(255) NOT NULL COMMENT '维保地点', |
|
|
|
`location` varchar(255) NOT NULL COMMENT '维保地点', |
|
|
|
`cost` bigint(20) NOT NULL COMMENT '维保费用', |
|
|
|
`cost` bigint(20) NOT NULL COMMENT '维保费用', |
|
|
|
`maintainer` varchar(20) NOT NULL COMMENT '维保人', |
|
|
|
`maintainer` varchar(20) NOT NULL COMMENT '维保人', |
|
|
@ -337,3 +338,8 @@ CREATE TABLE `hzims_car_check_item` ( |
|
|
|
`is_deleted` int(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除', |
|
|
|
`is_deleted` int(2) NOT NULL DEFAULT '0' COMMENT '逻辑删除状态:0-未删除,1-删除', |
|
|
|
PRIMARY KEY (`id`) USING BTREE |
|
|
|
PRIMARY KEY (`id`) USING BTREE |
|
|
|
) ENGINE=INNODB CHARACTER SET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='车检项表' ROW_FORMAT=Dynamic; |
|
|
|
) ENGINE=INNODB CHARACTER SET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='车检项表' ROW_FORMAT=Dynamic; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `hzims_equipment` ( |
|
|
|
|
|
|
|
`id` bigint(20) NOT NULL COMMENT '主键id', |
|
|
|
|
|
|
|
`name` |
|
|
|
|
|
|
|
) ENGINE=INNODB CHARACTER SET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='特种设备表' ROW_FORMAT=Dynamic; |