Explorar o código

上传shp图形报错。原因:人大金仓数据库不支持st_geometry(wkt,sird)函数

liutao hai 1 ano
pai
achega
23065201f0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      BJYSYBZ_S/src/main/resources/mapper/YbzBJMapper.xml

+ 1 - 1
BJYSYBZ_S/src/main/resources/mapper/YbzBJMapper.xml

@@ -470,7 +470,7 @@
     <update id="manageSaveWkt" parameterType="com.zjugis.ysgzybz.domain.dto.CommonDTO">
         update sde.bjwkfly2000
         set
-        shape = sde.st_geometry(#{wkt,jdbcType=VARCHAR}, 4490)
+        shape = #{wkt}::geometry
         where dksyh = #{id}
     </update>