insert into xm_node_style(ID,DIRECTION, HYPER_LINK, ICONS, MEMO, STYLE, TAGS, NODE_ID)
values (#{id},#{direction}, #{hyperLink}, #{icons}, #{memo}, #{style}, #{tags}, #{nodeId})
insert into xm_node_style(ID,DIRECTION, HYPER_LINK, ICONS, MEMO, STYLE, TAGS, NODE_ID)
values
(#{entity.id},#{entity.direction}, #{entity.hyperLink}, #{entity.icons}, #{entity.memo}, #{entity.style}, #{entity.tags},
#{entity.nodeId})
insert into xm_node_style(DIRECTION, HYPER_LINK, ICONS, MEMO, STYLE, TAGS, NODE_ID)
values
(#{entity.direction}, #{entity.hyperLink}, #{entity.icons}, #{entity.memo}, #{entity.style}, #{entity.tags},
#{entity.nodeId})
on duplicate key update
DIRECTION = values(DIRECTION) , HYPER_LINK = values(HYPER_LINK) , ICONS = values(ICONS) , MEMO = values(MEMO) ,
STYLE = values(STYLE) , TAGS = values(TAGS) , NODE_ID = values(NODE_ID)
update xm_node_style
DIRECTION = #{direction},
HYPER_LINK = #{hyperLink},
ICONS = #{icons},
MEMO = #{memo},
STYLE = #{style},
TAGS = #{tags},
NODE_ID = #{nodeId},
where ID = #{id}
delete
from xm_node_style
where ID = #{id}