Przeglądaj źródła

调整动态传递schema2

chenendian 5 dni temu
rodzic
commit
2247067978

+ 1 - 2
siwei-modules/siwei-apply/src/main/resources/mapper/cadastre/CadastreFileMapper.xml

@@ -209,7 +209,7 @@
 
     <select id="selectGeoms"  resultType="string">
         SELECT array_to_string(array_agg(ST_AsEWKT(gd.geom)), '|') as "geoms"
-        from #{schemaName}.${tableName} gd
+        from &quot;${schemaName}&quot;.${tableName} gd
         <where>
             <if test="tableName=='zdjbxx'">
                 AND  gd.valid_flag = 0 AND   gd.zt IN ('1', '2')
@@ -220,7 +220,6 @@
         </where>
     </select>
 
-
     <select id="countByValidFlag" resultType="int">
         SELECT COUNT(*)
         FROM vector.${tableName}