select id, bm_project_id, create_by, create_time, update_by, update_time, name, is_del, contactor, phone, need_amt, fixed_assets, product_name, product_qty, product_price, product_tax, product_emp, planned_land, independent_land, circulation_lan, need_room, need_factory_room, need_bus_room, other, address, is_frameorder, attachment, description from bm_project_info
insert ignore into bm_project_info
bm_project_id,
create_by,
create_time,
update_by,
update_time,
name,
is_del,
contactor,
phone,
need_amt,
fixed_assets,
product_name,
product_qty,
product_price,
product_tax,
product_emp,
planned_land,
independent_land,
circulation_lan,
need_room,
need_factory_room,
need_bus_room,
other,
address,
is_frameorder,
attachment,
description,
#{bmProjectId},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{name},
#{isDel},
#{contactor},
#{phone},
#{needAmt},
#{fixedAssets},
#{productName},
#{productQty},
#{productPrice},
#{productTax},
#{productEmp},
#{plannedLand},
#{independentLand},
#{circulationLan},
#{needRoom},
#{needFactoryRoom},
#{needBusRoom},
#{other},
#{address},
#{isFrameorder},
#{attachment},
#{description},
update bm_project_info
bm_project_id = #{bmProjectId},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
name = #{name},
is_del = #{isDel},
contactor = #{contactor},
phone = #{phone},
need_amt = #{needAmt},
fixed_assets = #{fixedAssets},
product_name = #{productName},
product_qty = #{productQty},
product_price = #{productPrice},
product_tax = #{productTax},
product_emp = #{productEmp},
planned_land = #{plannedLand},
independent_land = #{independentLand},
circulation_lan = #{circulationLan},
need_room = #{needRoom},
need_factory_room = #{needFactoryRoom},
need_bus_room = #{needBusRoom},
other = #{other},
address = #{address},
is_frameorder = #{isFrameorder},
attachment = #{attachment},
description = #{description},
where id = #{id}
update bm_project_info set id_del = '1' where id = #{id}
update bm_project_info set id_del = '1' where id in
#{id}