id, node_id, file_id
delete from pr_bill_of_material
where id = #{id,jdbcType=BIGINT}
insert into pr_bill_of_material
id,node_id,file_id
values
(
#{item.id,jdbcType=BIGINT},
#{item.nodeId,jdbcType=BIGINT},
#{item.fileId,jdbcType=BIGINT}
)
insert into pr_bill_of_material (node_id, file_id)
values (#{nodeId,jdbcType=BIGINT}, #{fileId,jdbcType=BIGINT})
insert into pr_bill_of_material
node_id,
file_id,
#{nodeId,jdbcType=BIGINT},
#{fileId,jdbcType=BIGINT},
update pr_bill_of_material
node_id = #{nodeId,jdbcType=BIGINT},
file_id = #{fileId,jdbcType=BIGINT},
where id = #{id,jdbcType=BIGINT}
update pr_bill_of_material
set node_id = #{nodeId,jdbcType=BIGINT},
file_id = #{fileId,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
delete from pr_bill_of_material where node_id in
#{item}