select id, data_asset_id, name, comment, is_primary_key, type, mapping_type, length, decimal_places, is_null, is_dict,default_value, dict_key, create_by, create_time, update_by, update_time, remark from asset_model
insert into asset_model
data_asset_id,
name,
comment,
is_primary_key,
type,
mapping_type,
length,
decimal_places,
is_null,
is_dict,
default_value,
dict_key,
create_by,
create_time,
update_by,
update_time,
remark,
#{dataAssetId},
#{name},
#{comment},
#{isPrimaryKey},
#{type},
#{mappingType},
#{length},
#{decimalPlaces},
#{isNull},
#{isDict},
#{defaultValue},
#{dictKey},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
insert into `asset_model`
`data_asset_id`,
`name`,
comment,
is_primary_key,
`type`,
mapping_type,
`length`,
decimal_places,
is_null,
is_dict,
default_value,
dict_key,
create_by,
create_time,
values
#{item.dataAssetId},
#{item.name},
#{item.comment},
#{item.isPrimaryKey},
#{item.type},
#{item.mappingType},
#{item.length},
#{item.decimalPlaces},
#{item.isNull},
#{item.isDict},
#{item.defaultValue},
#{item.dictKey},
#{item.createBy},
#{item.createTime},
update asset_model
data_asset_id = #{dataAssetId},
name = #{name},
comment = #{comment},
is_primary_key = #{isPrimaryKey},
type = #{type},
mapping_type = #{mappingType},
length = #{length},
decimal_places = #{decimalPlaces},
is_null = #{isNull},
is_dict = #{isDict},
default_value = #{defaultValue},
dict_key = #{dictKey},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
where id = #{id}
delete from asset_model where id = #{id}
delete from asset_model where id in
#{id}