fb89cbf1a4b1ff289fe4515273aa7f2df979ae5d.svn-base 853 B

12345678910111213141516
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="org.jeecg.modules.demo.hzz.axgh.yhdl.mapper.RmYhdlMapper">
  4. <update id="updYhdl" parameterType="Object">
  5. update rm_yhdl set geom=(ST_Transform(st_geometryfromtext(#{wkt}, 4548),4490)) where id=#{id};
  6. </update>
  7. <update id="updYhdl2" parameterType="Object">
  8. update rm_yhdl set geom=(ST_Transform(st_geometryfromtext(#{wkt}, 4527),4490)) where id=#{id};
  9. </update>
  10. <update id="updYhdl3" parameterType="Object">
  11. update rm_yhdl set geom=(st_geometryfromtext(#{wkt},4490)) where id=#{id};
  12. </update>
  13. <update id="updGeoinfo" parameterType="Object">
  14. update rm_yhdl set geoinfo = st_asGeojson(geom) where id=#{id};
  15. </update>
  16. </mapper>