insert into rm_shxmxxb(id, xmmc, jszt, xmid, xmlx, gldw, kgny, jcny, szhl, geoinfo)
values (#{id}, #{xmmc}, #{jszt}, #{xmid}, #{xmlx}, #{gldw}, #{kgny}, #{jcny}, #{szhl} ,#{geoinfo})
delete
from rm_shxmxxb
where xmid = #{xmid}
update rm_shxmxxb
set xmmc=#{xmmc},
jszt=#{jszt},
gldw=#{gldw},
kgny=#{kgny},
jcny=#{jcny},
szhl=#{szhl},
geoinfo=#{geoinfo}
where xmid=#{id}