select id, bom_code, bom_name, product_code, product_name, version, status, spare_field_1, spare_field_2, remark, create_user, create_time, update_user, update_time, data_source from bs_product_bom_info
insert into bs_product_bom_info
id,
bom_code,
bom_name,
product_code,
product_name,
version,
status,
spare_field_1,
spare_field_2,
remark,
create_user,
create_time,
update_user,
update_time,
data_source,
#{id},
#{bomCode},
#{bomName},
#{productCode},
#{productName},
#{version},
#{status},
#{spareField1},
#{spareField2},
#{remark},
#{createUser},
#{createTime},
#{updateUser},
#{updateTime},
#{dataSource},
update bs_product_bom_info
bom_code = #{bomCode},
bom_name = #{bomName},
product_code = #{productCode},
product_name = #{productName},
version = #{version},
status = #{status},
spare_field_1 = #{spareField1},
spare_field_2 = #{spareField2},
remark = #{remark},
create_user = #{createUser},
create_time = #{createTime},
update_user = #{updateUser},
update_time = #{updateTime},
data_source = #{dataSource},
where id = #{id}
delete from bs_product_bom_info where id = #{id}
delete from bs_product_bom_info where id in
#{id}