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