diff --git a/src/main/resources/mapper/NodeinfoDao.xml b/src/main/resources/mapper/NodeinfoDao.xml new file mode 100644 index 0000000000000000000000000000000000000000..426091ef7369e1f177efb886c3c38cc8c858f61b --- /dev/null +++ b/src/main/resources/mapper/NodeinfoDao.xml @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + insert into PUBLIC.node_info(name, json) + values (#{name}, #{json}) + + + + + update PUBLIC.node_info + + + name = #{name}, + + + json = #{json}, + + + where id = #{id} + + + + + delete from PUBLIC.node_info where id = #{id} + + + + + delete from PUBLIC.node_info where name = #{name} + + +