Browse Source

sql多拼字符修复

chenendian 1 week ago
parent
commit
32492f4643

+ 9 - 25
onemap-modules/onemap-analyse/src/main/resources/mapper/oracle/vector/CreateUtilsDBMapper.xml

@@ -119,22 +119,14 @@
              "${tableNameB}" tb
         WHERE public.ST_Intersects(tb.rast, ta.geom)
           AND (SELECT (stats).mean
-            FROM
+        FROM
         (
             SELECT
-            PUBLIC
-            .
-            public.ST_SummaryStats(
-            PUBLIC
-            .
-            public.ST_Clip
+            PUBLIC.ST_SummaryStats(
+            PUBLIC.ST_Clip
         (
-            tb
-            .
-            rast,
-            ta
-            .
-            geom
+            tb.rast,
+            ta.geom
         )) AS stats) AS summary) < #{value};
     </insert>
     <insert id="getGtBandValue">
@@ -147,19 +139,11 @@
             FROM
         (
             SELECT
-            PUBLIC
-            .
-            public.ST_SummaryStats(
-            PUBLIC
-            .
-            public.ST_Clip
+            PUBLIC.ST_SummaryStats(
+            PUBLIC.ST_Clip
         (
-            tb
-            .
-            rast,
-            ta
-            .
-            geom
+            tb.rast,
+            ta.geom
         )) AS stats) AS summary) &gt; #{value};
     </insert>
     <insert id="addDemValue">