123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279 |
- drop table if exists biz_fault_physical_model;
- create table biz_fault_physical_model
- (
- id bigint(20) not null auto_increment comment '序号',
- name varchar(64) comment '故障模型名称',
- type varchar(64) comment '故障模型类型',
- path varchar(255) comment '故障模型接口地址',
- params TEXT comment '故障模型参数参数',
- remark varchar(500) default null comment '备注',
- create_by varchar(64) default '' comment '创建者',
- create_time datetime comment '创建时间',
- update_by varchar(64) default '' comment '更新者',
- update_time datetime comment '更新时间',
- primary key (id)
- ) engine=innodb comment = '故障物理模型管理表';
- drop table if exists biz_fault_diagnosis_model;
- create table biz_fault_diagnosis_model
- (
- id bigint(20) not null auto_increment comment '序号',
- name varchar(64) comment '故障模型名称',
- type varchar(64) comment '故障模型类型',
- path varchar(255) comment '故障模型接口地址',
- params TEXT comment '故障模型参数参数',
- remark varchar(500) default null comment '备注',
- create_by varchar(64) default '' comment '创建者',
- create_time datetime comment '创建时间',
- update_by varchar(64) default '' comment '更新者',
- update_time datetime comment '更新时间',
- primary key (id)
- ) engine=innodb comment = '故障诊断算法模型管理表';
- --drop table if exists biz_evaluation_indicator;
- --create table biz_evaluation_indicator
- --(
- -- id bigint(20) not null auto_increment comment '序号',
- -- name varchar(64) comment '故障模型类型',
- -- formulas TEXT comment '公式',
- -- remark varchar(500) default null comment '备注',
- -- create_by varchar(64) default '' comment '创建者',
- -- create_time datetime comment '创建时间',
- -- update_by varchar(64) default '' comment '更新者',
- -- update_time datetime comment '更新时间',
- -- primary key (id)
- --) engine=innodb comment = '评估指标体系管理表';
- drop table if exists biz_evaluation_indicator;
- create table biz_evaluation_indicator
- (
- id bigint(20) not null auto_increment comment '序号',
- name varchar(64) comment '评估体系名称',
- params TEXT comment '评估体系参数',
- remark varchar(500) default null comment '说明',
- create_by varchar(64) default '' comment '创建者',
- create_time datetime comment '创建时间',
- update_by varchar(64) default '' comment '更新者',
- update_time datetime comment '更新时间',
- primary key (id)
- ) engine=innodb comment = '评估指标体系管理表';
- drop table if exists biz_formulas
- create table biz_formulas
- (
- id bigint(20) not null auto_increment comment '序号',
- name varchar(64) comment '公式名称',
- formulas TEXT comment '公式',
- remark varchar(500) default null comment '说明',
- create_by varchar(64) default '' comment '创建者',
- create_time datetime comment '创建时间',
- update_by varchar(64) default '' comment '更新者',
- update_time datetime comment '更新时间',
- primary key (id)
- ) engine=innodb comment = '公式管理管理表';
- drop table if exists biz_phy_model_data_gen
- create table biz_phy_model_data_gen
- (
- id bigint(20) not null auto_increment comment '序号',
- name varchar(64) comment '数据生成名称',
- model_id bigint(20) comment '数据生成模型',
- params TEXT comment '参数',
- data_id bigint(20) comment '数据id',
- status varchar(64) comment '状态',
- start_time datetime comment '开始时间',
- end_time datetime comment '结束时间',
- remark varchar(500) default null comment '说明',
- create_by varchar(64) default '' comment '创建者',
- create_time datetime comment '创建时间',
- update_by varchar(64) default '' comment '更新者',
- update_time datetime comment '更新时间',
- primary key (id)
- ) engine=innodb comment = '物理模型数据生成管理表';
- drop table if exists biz_phy_noise_data_gen
- create table biz_phy_noise_data_gen
- (
- id bigint(20) not null auto_increment comment '序号',
- name varchar(64) comment '数据生成名称',
- model_id bigint(20) comment '数据生成模型',
- params TEXT comment '参数',
- original_data_id bigint(20) comment '原始数据id',
- generated_data_id bigint(20) comment '生成后数据id',
- status varchar(64) comment '状态',
- start_time datetime comment '开始时间',
- end_time datetime comment '结束时间',
- remark varchar(500) default null comment '说明',
- create_by varchar(64) default '' comment '创建者',
- create_time datetime comment '创建时间',
- update_by varchar(64) default '' comment '更新者',
- update_time datetime comment '更新时间',
- primary key (id)
- ) engine=innodb comment = '噪声数据生成管理表';
- drop table if exists biz_test_data_gen
- create table biz_test_data_gen
- (
- id bigint(20) not null auto_increment comment '序号',
- name varchar(64) comment '数据生成名称',
- model_id bigint(20) comment '数据生成模型',
- params TEXT comment '参数',
- original_data_ids varchar(255) comment '原始数据ids',
- generated_data_id bigint(20) comment '生成后数据id',
- status varchar(64) comment '状态',
- start_time datetime comment '开始时间',
- end_time datetime comment '结束时间',
- remark varchar(500) default null comment '说明',
- create_by varchar(64) default '' comment '创建者',
- create_time datetime comment '创建时间',
- update_by varchar(64) default '' comment '更新者',
- update_time datetime comment '更新时间',
- primary key (id)
- ) engine=innodb comment = '测试数据生成管理表';
- drop table if exists biz_data
- create table biz_data
- (
- id bigint(20) not null auto_increment comment '序号',
- name varchar(64) comment '数据名称',
- type varchar(64) comment '数据类型(0物理模型数据,1实际数据,2噪声数据,3训练/验证数据)',
- file_path varchar(255) comment '文件路径',
- remark varchar(500) default null comment '说明',
- create_by varchar(64) default '' comment '创建者',
- create_time datetime comment '创建时间',
- update_by varchar(64) default '' comment '更新者',
- update_time datetime comment '更新时间',
- primary key (id)
- ) engine=innodb comment = '数据管理表';
- --drop table if exists biz_phy_model_data
- --create table biz_phy_model_data
- --(
- -- id bigint(20) not null auto_increment comment '序号',
- -- name varchar(64) comment '数据名称',
- -- file_path varchar(255) comment '文件路径',
- -- remark varchar(500) default null comment '说明',
- -- create_by varchar(64) default '' comment '创建者',
- -- create_time datetime comment '创建时间',
- -- update_by varchar(64) default '' comment '更新者',
- -- update_time datetime comment '更新时间',
- -- primary key (id)
- --) engine=innodb comment = '物理数据管理表';
- --drop table if exists biz_actual_data
- --create table biz_actual_data
- --(
- -- id bigint(20) not null auto_increment comment '序号',
- -- name varchar(64) comment '数据名称',
- -- file_path varchar(255) comment '文件路径',
- -- remark varchar(500) default null comment '说明',
- -- create_by varchar(64) default '' comment '创建者',
- -- create_time datetime comment '创建时间',
- -- update_by varchar(64) default '' comment '更新者',
- -- update_time datetime comment '更新时间',
- -- primary key (id)
- --) engine=innodb comment = '实际数据管理表';
- --
- --drop table if exists biz_noise_data
- --create table biz_noise_data
- --(
- -- id bigint(20) not null auto_increment comment '序号',
- -- name varchar(64) comment '数据名称',
- -- file_path varchar(255) comment '文件路径',
- -- remark varchar(500) default null comment '说明',
- -- create_by varchar(64) default '' comment '创建者',
- -- create_time datetime comment '创建时间',
- -- update_by varchar(64) default '' comment '更新者',
- -- update_time datetime comment '更新时间',
- -- primary key (id)
- --) engine=innodb comment = '噪声数据管理表';
- --
- --drop table if exists biz_train_val_data
- --create table biz_train_val_data
- --(
- -- id bigint(20) not null auto_increment comment '序号',
- -- name varchar(64) comment '数据名称',
- -- file_path varchar(255) comment '文件路径',
- -- remark varchar(500) default null comment '说明',
- -- create_by varchar(64) default '' comment '创建者',
- -- create_time datetime comment '创建时间',
- -- update_by varchar(64) default '' comment '更新者',
- -- update_time datetime comment '更新时间',
- -- primary key (id)
- --) engine=innodb comment = '训练验证数据管理表';
- drop table if exists biz_fd_algorithm
- create table biz_fd_algorithm
- (
- id bigint(20) not null auto_increment comment '序号',
- name varchar(64) comment '故障诊断名称',
- model_id varchar(255) comment '模型id',
- data_id bigint(20) comment '数据id',
- truth_labels varchar(255) comment '实际标签',
- test_labels varchar(255) comment '测试标签',
- remark varchar(500) default null comment '说明',
- start_time datetime comment '开始时间',
- end_time datetime comment '结束时间',
- create_by varchar(64) default '' comment '创建者',
- create_time datetime comment '创建时间',
- update_by varchar(64) default '' comment '更新者',
- update_time datetime comment '更新时间',
- primary key (id)
- ) engine=innodb comment = '故障诊断算法功能验证表';
- drop table if exists biz_performance_evaluation
- create table biz_performance_evaluation
- (
- id bigint(20) not null auto_increment comment '序号',
- name varchar(64) comment '性能评估名称',
- type varchar(64) comment '类型',
- valuation_indicator_id bigint(20) comment '评估id',
- fd_algorithm_id bigint(20) comment '故障诊断算法id',
- data_id bigint(20) comment '数据id',
- params TEXT comment '参数',
- result_file_path varchar(255) comment '文件结果',
- result_text Text comment '文本结果',
- remark varchar(500) default null comment '说明',
- start_time datetime comment '开始时间',
- end_time datetime comment '结束时间',
- create_by varchar(64) default '' comment '创建者',
- create_time datetime comment '创建时间',
- update_by varchar(64) default '' comment '更新者',
- update_time datetime comment '更新时间',
- primary key (id)
- ) engine=innodb comment = '算法性能评估表';
- drop table if exists biz_workflow
- create table biz_workflow
- (
- id bigint(20) not null auto_increment comment '序号',
- name varchar(64) comment '任务名称',
- status varchar(64) comment '任务状态',
- remark varchar(500) default null comment '说明',
- start_time datetime comment '开始时间',
- end_time datetime comment '结束时间',
- create_by varchar(64) default '' comment '创建者',
- create_time datetime comment '创建时间',
- update_by varchar(64) default '' comment '更新者',
- update_time datetime comment '更新时间',
- primary key (id)
- ) engine=innodb comment = '流程任务表';
- drop table if exists biz_workflow_node
- create table biz_workflow_node
- (
- id bigint(20) not null auto_increment comment '序号',
- name varchar(64) comment '数据名称',
- type varchar(64) comment '类型',
- sub_type varchar(64) comment '子类型',
- task_id bigint(20) comment '任务id',
- remark varchar(500) default null comment '说明',
- start_time datetime comment '开始时间',
- end_time datetime comment '结束时间',
- create_by varchar(64) default '' comment '创建者',
- create_time datetime comment '创建时间',
- update_by varchar(64) default '' comment '更新者',
- update_time datetime comment '更新时间',
- primary key (id)
- ) engine=innodb comment = '流程节点表';
|