select id, table_id, column_name, column_remark, is_primary, column_type, java_type, column_length, column_decimals, is_null, default_value, is_dictionary, dictionary_table, remark, create_by, create_time, update_by, update_time from structure
insert into structure
table_id,
column_name,
column_remark,
is_primary,
column_type,
java_type,
column_length,
column_decimals,
is_null,
default_value,
is_dictionary,
dictionary_table,
remark,
create_by,
create_time,
update_by,
update_time,
#{tableId},
#{columnName},
#{columnRemark},
#{isPrimary},
#{columnType},
#{javaType},
#{columnLength},
#{columnDecimals},
#{isNull},
#{defaultValue},
#{isDictionary},
#{dictionaryTable},
#{remark},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
update structure
table_id = #{tableId},
column_name = #{columnName},
column_remark = #{columnRemark},
is_primary = #{isPrimary},
column_type = #{columnType},
java_type = #{javaType},
column_length = #{columnLength},
column_decimals = #{columnDecimals},
is_null = #{isNull},
default_value = #{defaultValue},
is_dictionary = #{isDictionary},
dictionary_table = #{dictionaryTable},
remark = #{remark},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
where id = #{id}
delete from structure where id = #{id}
delete from structure where id in
#{id}