!349 代码生成 从对应数据源加载表结构信息 存储到主数据源 实现存储统一

* 数据库脚本修改,gen_table增加data_name字段,存储对应数据源名称
* 代码生成 从对应数据源加载表结构信息 存储到主数据源 实现存储统一(表结构需要增加对应的数据来源字段) https://gitee.com/…
This commit is contained in:
WangBQ
2023-05-29 02:26:10 +00:00
committed by 疯狂的狮子Li
parent 8d69be093e
commit f2892a672a
12 changed files with 152 additions and 69 deletions

View File

@ -686,6 +686,7 @@ insert into sys_notice values('2', '000000', '维护通知2018-07-01 系统
drop table if exists gen_table;
create table gen_table (
table_id bigint(20) not null comment '编号',
data_name varchar(200) default '' comment '数据源名称',
table_name varchar(200) default '' comment '表名称',
table_comment varchar(500) default '' comment '表描述',
sub_table_name varchar(64) default null comment '关联子表的表名',