id,process_id,sort, content,node_type,is_start,is_end, is_record,device_cycle_content,deleted, remark delete from pr_production_node where id = #{id,jdbcType=BIGINT} delete from pr_production_node where process_id = #{processId,jdbcType=BIGINT} delete from pr_production_node where id in #{item} insert into pr_production_node id, process_id, sort, content, node_type, is_start, is_end, is_record, device_cycle_content, deleted, remark, #{id,jdbcType=BIGINT}, #{processId,jdbcType=BIGINT}, #{sort,jdbcType=INTEGER}, #{content,jdbcType=VARCHAR}, #{nodeType,jdbcType=INTEGER}, #{isStart,jdbcType=TINYINT}, #{isEnd,jdbcType=TINYINT}, #{isRecord,jdbcType=TINYINT}, #{deviceCycleContent,jdbcType=VARCHAR}, #{deleted,jdbcType=TINYINT}, #{remark,jdbcType=VARCHAR}, INSERT INTO pr_production_node (id,process_id,sort, content,node_type,is_start,is_end, is_record,device_cycle_content,deleted, remark) VALUES #{item.id}, #{item.processId}, #{item.sort}, #{item.content}, #{item.nodeType}, #{item.isStart}, #{item.isEnd}, #{item.isRecord}, #{item.deviceCycleContent}, #{item.deleted}, #{item.remark} update pr_production_node process_id = #{processId,jdbcType=BIGINT}, sort = #{sort,jdbcType=INTEGER}, content = #{content,jdbcType=VARCHAR}, node_type = #{nodeType,jdbcType=INTEGER}, is_start = #{isStart,jdbcType=TINYINT}, is_end = #{isEnd,jdbcType=TINYINT}, is_record = #{isRecord,jdbcType=TINYINT}, device_cycle_content = #{deviceCycleContent,jdbcType=VARCHAR}, deleted = #{deleted,jdbcType=TINYINT}, remark = #{remark,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update pr_production_node set deleted = 1 where id = #{id}