insert into menu(id,parentId,name,url,icon) values(null,#{parentId},#{name},#{url},#{icon}) update menu set name = #{name},parentId = #{parentId},url = #{url},icon = #{icon} where id = #{id} delete from menu where id = #{id}