|
@@ -8,7 +8,7 @@ create table t_audit (
|
|
|
audit_time datetime comment '审计时间',
|
|
|
audit_result varchar(500) comment '审计结果',
|
|
|
remarks varchar(500) comment '备注',
|
|
|
- dept_id bigint(20) comment '装置id',
|
|
|
+ dept_id varchar(255) comment '装置id',
|
|
|
primary key (id)
|
|
|
) engine=innodb auto_increment=100 comment = '审计记录表';
|
|
|
|
|
@@ -19,7 +19,7 @@ create table t_dept_info (
|
|
|
id bigint(20) comment 'id' not null auto_increment,
|
|
|
`year` year comment '年份',
|
|
|
dept_info varchar(500) comment '装置信息',
|
|
|
- dept_id bigint(20) comment '装置id',
|
|
|
+ dept_id varchar(255) comment '装置id',
|
|
|
primary key (id)
|
|
|
) engine=innodb auto_increment=100 comment = '装置信息表';
|
|
|
|
|
@@ -30,7 +30,7 @@ create table t_chap (
|
|
|
id bigint(20) comment 'id' not null auto_increment,
|
|
|
audit_id bigint(20) comment '审计记录id',
|
|
|
name varchar(500) comment '名称',
|
|
|
- dept_id bigint(20) comment '装置id',
|
|
|
+ dept_id varchar(255) comment '装置id',
|
|
|
primary key (id)
|
|
|
) engine=innodb auto_increment=100 comment = '问卷章节表';
|
|
|
|
|
@@ -42,7 +42,7 @@ create table t_sub_chap (
|
|
|
audit_id bigint(20) comment '审计记录id',
|
|
|
chap_id bigint(20) comment '问卷章节id',
|
|
|
name varchar(500) comment '名称',
|
|
|
- dept_id bigint(20) comment '装置id',
|
|
|
+ dept_id varchar(255) comment '装置id',
|
|
|
primary key (id)
|
|
|
) engine=innodb auto_increment=100 comment = '问卷细分章节表';
|
|
|
|
|
@@ -66,7 +66,7 @@ create table t_sec_sub_chap (
|
|
|
person_in_charge bigint(20) comment '负责人',
|
|
|
reviewer bigint(20) comment '审核人',
|
|
|
remarks varchar(500) comment '备注',
|
|
|
- dept_id bigint(20) comment '装置id',
|
|
|
+ dept_id varchar(255) comment '装置id',
|
|
|
primary key (id)
|
|
|
) engine=innodb auto_increment=100 comment = '问卷二级细分章节表';
|
|
|
|
|
@@ -89,7 +89,7 @@ create table t_progress (
|
|
|
description char(1) comment '进度描述',
|
|
|
apply_status char(1) comment '审批状态',
|
|
|
remarks varchar(500) comment '备注',
|
|
|
- dept_id bigint(20) comment '装置id',
|
|
|
+ dept_id varchar(255) comment '装置id',
|
|
|
primary key (id)
|
|
|
) engine=innodb auto_increment=100 comment = '进度表';
|
|
|
|
|
@@ -102,7 +102,7 @@ create table t_meeting (
|
|
|
sec_sub_chap_id bigint(20) comment '涉及code',
|
|
|
person_in_charge bigint(20) comment '负责人',
|
|
|
remarks varchar(500) comment '备注',
|
|
|
- dept_id bigint(20) comment '装置id',
|
|
|
+ dept_id varchar(255) comment '装置id',
|
|
|
primary key (id)
|
|
|
) engine=innodb auto_increment=100 comment = '会议表';
|
|
|
|
|
@@ -123,6 +123,6 @@ create table t_open_item (
|
|
|
result char(1) comment '责任人确认',
|
|
|
deadline datetime comment '截至时间',
|
|
|
remarks varchar(500) comment '备注',
|
|
|
- dept_id bigint(20) comment '装置id',
|
|
|
+ dept_id varchar(255) comment '装置id',
|
|
|
primary key (id)
|
|
|
) engine=innodb auto_increment=100 comment = '开项表';
|