Commit a1568e5f by 刘泽志

data_field增加三个字段

分别是字段比较的信息,类型与年份
需求为: 实现对应,相加,相等的逻辑
前端: 字段编辑的时候展示选择
可选:增加一个页面,来进行查询统计字段对应关系
parent 6488c0dc
......@@ -9,7 +9,7 @@ create table data_dict
) comment '数据字典';
create table data_import_template
create table data_template
(
id varchar(32) not null
primary key,
......@@ -27,15 +27,18 @@ create table data_import_template
create table data_field
(
id varchar(32) not null
id varchar(32) not null
primary key,
template_id varchar(32) null comment '模板ID',
code varchar(256) null comment '代码',
title varchar(256) null comment '指标名称',
unit varchar(32) null comment '计量单位',
coordinate varchar(32) null comment '数据起始坐标,例如 C,4',
sort int default 0 comment '排序字段',
field varchar(32) null comment '数据库字段名'
template_id varchar(32) null comment '模板ID',
code varchar(256) null comment '代码',
title varchar(256) null comment '指标名称',
unit varchar(32) null comment '计量单位',
coordinate varchar(32) null comment '数据起始坐标,例如 C,4',
sort int default 0 comment '排序字段',
field varchar(32) null comment '数据库字段名',
compare_type varchar(32) null comment '字段比较类型',
compare_content varchar(512) null comment '字段比较内容',
compare_year varchar(32) null comment '字段比较年份'
) comment '数据字段表';
create table data_rule
......@@ -72,4 +75,4 @@ create table meta_field
field_type varchar(64) null comment '字段类型',
field_comment varchar(64) null comment '字段注释',
remarks varchar(256) null comment '备注'
) comment '元字段信息表';
\ No newline at end of file
) comment '元字段信息表';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment