|
@@ -866,6 +866,27 @@ create table adm_op_inspection_report (
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
-- ----------------------------
|
|
|
|
+-- 设备台账表
|
|
|
|
+-- ----------------------------
|
|
|
|
+drop table if exists adm_ems_device_rbook;
|
|
|
|
+create table adm_ems_device_rbook (
|
|
|
|
+ `id` bigint(20) not null auto_increment comment '序号',
|
|
|
|
+ `record_code` varchar(32) not null comment '记录编号',
|
|
|
|
+ `obj_type` int not null comment '对象类型 1:设施 2:设备',
|
|
|
|
+ `obj_code` varchar(32) not null comment '对象代码',
|
|
|
|
+ `obj_name` varchar(64) default null comment '对象名称',
|
|
|
|
+ `ins_location` varchar(128) default null comment '安装位置',
|
|
|
|
+ `maintain_title` varchar(128) not null comment '维护标题',
|
|
|
|
+ `maintain_content` text default null comment '维护内容',
|
|
|
|
+ `maintain_person` varchar(32) default null comment '维护人',
|
|
|
|
+ `create_time` datetime default null comment '创建时间',
|
|
|
|
+ `update_time` datetime default null comment '更新时间',
|
|
|
|
+ primary key (`id`),
|
|
|
|
+ key inx_op_inspection_report(`record_code`)
|
|
|
|
+) engine=innodb auto_increment=1 comment = '设备台账表';
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+-- ----------------------------
|
|
-- 服务区用电属性表
|
|
-- 服务区用电属性表
|
|
-- ----------------------------
|
|
-- ----------------------------
|
|
drop table if exists adm_area_elec_attr;
|
|
drop table if exists adm_area_elec_attr;
|