id, prev_id, next_id, parent_id, child_id, obj_type
delete from nodeinfo
where id = #{id,jdbcType=BIGINT}
insert into nodeinfo (id, prev_id, next_id,
parent_id, child_id, obj_type
)
values (#{id,jdbcType=BIGINT}, #{prevId,jdbcType=BIGINT}, #{nextId,jdbcType=BIGINT},
#{parentId,jdbcType=BIGINT}, #{childId,jdbcType=BIGINT}, #{objType,jdbcType=VARCHAR}
)
insert into nodeinfo
id,
prev_id,
next_id,
parent_id,
child_id,
obj_type,
#{id,jdbcType=BIGINT},
#{prevId,jdbcType=BIGINT},
#{nextId,jdbcType=BIGINT},
#{parentId,jdbcType=BIGINT},
#{childId,jdbcType=BIGINT},
#{objType,jdbcType=VARCHAR},
update nodeinfo
prev_id = #{prevId,jdbcType=BIGINT},
next_id = #{nextId,jdbcType=BIGINT},
parent_id = #{parentId,jdbcType=BIGINT},
child_id = #{childId,jdbcType=BIGINT},
obj_type = #{objType,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update nodeinfo
set prev_id = #{prevId,jdbcType=BIGINT},
next_id = #{nextId,jdbcType=BIGINT},
parent_id = #{parentId,jdbcType=BIGINT},
child_id = #{childId,jdbcType=BIGINT},
obj_type = #{objType,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
commit