select id, material_code, material_name, material_view, type_z, type_l, unit, matter_version, remarks, create_user, create_time, update_user, update_time, erp_spec, data_source, version, status, supplier from bs_material_info
insert into bs_material_info
id,
material_code,
material_name,
material_view,
type_z,
type_l,
unit,
matter_version,
remarks,
create_user,
create_time,
update_user,
update_time,
erp_spec,
data_source,
version,
status,
supplier,
#{id},
#{materialCode},
#{materialName},
#{materialView},
#{typeZ},
#{typeL},
#{unit},
#{matterVersion},
#{remarks},
#{createUser},
#{createTime},
#{updateUser},
#{updateTime},
#{erpSpec},
#{dataSource},
#{version},
#{status},
#{supplier},
update bs_material_info
material_code = #{materialCode},
material_name = #{materialName},
material_view = #{materialView},
type_z = #{typeZ},
type_l = #{typeL},
unit = #{unit},
matter_version = #{matterVersion},
remarks = #{remarks},
create_user = #{createUser},
create_time = #{createTime},
update_user = #{updateUser},
update_time = #{updateTime},
erp_spec = #{erpSpec},
data_source = #{dataSource},
version = #{version},
status = #{status},
supplier = #{supplier},
where id = #{id}
delete from bs_material_info where id = #{id}
delete from bs_material_info where id in
#{id}