Optimize ToolBase api
This commit is contained in:
@@ -2,10 +2,10 @@ drop table if exists t_b_tool_data;
|
||||
|
||||
create table if not exists t_b_tool_data
|
||||
(
|
||||
id bigint not null primary key,
|
||||
data text not null comment '数据',
|
||||
create_time datetime not null default (utc_timestamp()) comment '创建时间',
|
||||
update_time datetime not null default (utc_timestamp()) comment '修改时间',
|
||||
deleted bigint not null default 0,
|
||||
version int not null default 0
|
||||
id bigint not null primary key,
|
||||
data mediumtext not null comment '数据',
|
||||
create_time datetime not null default (utc_timestamp()) comment '创建时间',
|
||||
update_time datetime not null default (utc_timestamp()) comment '修改时间',
|
||||
deleted bigint not null default 0,
|
||||
version int not null default 0
|
||||
) comment '工具-数据表';
|
||||
@@ -6,6 +6,7 @@ create table if not exists t_b_tool_base
|
||||
name varchar(20) not null comment '基板名',
|
||||
source_id bigint not null comment '源码 ID',
|
||||
dist_id bigint not null comment '产物 ID',
|
||||
compiled int not null default 0 comment '已编译',
|
||||
enable int not null default 1 comment '启用',
|
||||
create_time datetime not null default (utc_timestamp()) comment '创建时间',
|
||||
update_time datetime not null default (utc_timestamp()) comment '修改时间',
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
t_b_tool_base.name as tool_base_name,
|
||||
t_b_tool_base.source_id as tool_base_source_id,
|
||||
t_b_tool_base.dist_id as tool_base_dist_id,
|
||||
t_b_tool_base.compiled as tool_base_compiled,
|
||||
t_b_tool_base.enable as tool_base_enable,
|
||||
t_b_tool_base.create_time as tool_base_create_time,
|
||||
t_b_tool_base.update_time as tool_base_update_time,
|
||||
@@ -34,6 +35,7 @@
|
||||
<result property="name" column="tool_base_name"/>
|
||||
<result property="sourceId" column="tool_base_source_id"/>
|
||||
<result property="distId" column="tool_base_dist_id"/>
|
||||
<result property="compiled" column="tool_base_compiled"/>
|
||||
<result property="enable" column="tool_base_enable"/>
|
||||
<result property="createTime" column="tool_base_create_time"/>
|
||||
<result property="updateTime" column="tool_base_update_time"/>
|
||||
|
||||
Reference in New Issue
Block a user