select record_id, route_id, process_id, product_id, item_id, item_code, item_name, specification, unit_of_measure, quantity, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from pro_route_product_bom
insert into pro_route_product_bom
route_id,
process_id,
product_id,
item_id,
item_code,
item_name,
specification,
unit_of_measure,
quantity,
remark,
attr1,
attr2,
attr3,
attr4,
create_by,
create_time,
update_by,
update_time,
#{routeId},
#{processId},
#{productId},
#{itemId},
#{itemCode},
#{itemName},
#{specification},
#{unitOfMeasure},
#{quantity},
#{remark},
#{attr1},
#{attr2},
#{attr3},
#{attr4},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
update pro_route_product_bom
route_id = #{routeId},
process_id = #{processId},
product_id = #{productId},
item_id = #{itemId},
item_code = #{itemCode},
item_name = #{itemName},
specification = #{specification},
unit_of_measure = #{unitOfMeasure},
quantity = #{quantity},
remark = #{remark},
attr1 = #{attr1},
attr2 = #{attr2},
attr3 = #{attr3},
attr4 = #{attr4},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
where record_id = #{recordId}
delete from pro_route_product_bom where record_id = #{recordId}
delete from pro_route_product_bom where record_id in
#{recordId}
delete from pro_route_product_bom where route_id = #{routeId}
delete from pro_route_product_bom where route_id = #{routeId} and product_id = #{productId}