Explorar el Código

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

liutao hace 1 año
padre
commit
23065201f0
Se han modificado 1 ficheros con 1 adiciones y 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>