DESKTOP-2K9OVK9\siwei 4 сар өмнө
parent
commit
19d3d6b738

+ 0 - 8
onemap-modules/onemap-apply/src/main/java/com/onemap/apply/controller/gdbh/GdbhController.java

@@ -102,12 +102,4 @@ public class GdbhController extends BaseController {
         return getDataTable(list);
         return getDataTable(list);
     }
     }
 
 
-    @GetMapping("/upload/geom")
-    public RequestResult SelectGdbhList(String type, String[] ids) {
-        System.out.println("type:" + type);
-        System.out.println("ids:" + Arrays.asList(ids).toString());
-        return RequestResult.success("处理成功", "0");
-    }
-
-
 }
 }

+ 1 - 1
onemap-modules/onemap-apply/src/main/resources/mapper/postgresql/gdbh/TGdbhRwGeomMapper.xml

@@ -14,7 +14,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </resultMap>
     </resultMap>
 
 
     <sql id="selectTGdbhRwGeomVo">
     <sql id="selectTGdbhRwGeomVo">
-        select id, geom, rwbsm, geom_json, sort, geomarea from t_gdbh_rw_geom
+        select id, public.st_asewkt(geom) geom, rwbsm, geom_json, sort, geomarea from t_gdbh_rw_geom
     </sql>
     </sql>
 
 
     <select id="selectTGdbhRwGeomList" parameterType="TGdbhRwGeom" resultMap="TGdbhRwGeomResult">
     <select id="selectTGdbhRwGeomList" parameterType="TGdbhRwGeom" resultMap="TGdbhRwGeomResult">