Răsfoiți Sursa

Merge branch 'master' of http://114.244.114.158:8802/siwei/sanya-dbms

gushoubang 2 luni în urmă
părinte
comite
4583304193
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      processing/tools/PostgreSQL/PostgreSQL.py

+ 2 - 2
processing/tools/PostgreSQL/PostgreSQL.py

@@ -26,7 +26,7 @@ class PostgreSQL:
     # 附件表
     Vector_FJ = "t_vector_fj"
     # 字段表
-    Vector_Field = "t_vector_field"
+    Vector_Field = "t_vector_ywlx"
     # 平台资源目录表
     Portal_Zyml = "t_yzt_zyml"
     # 备份表后缀名
@@ -270,7 +270,7 @@ class PostgreSQL:
     # 获取矢量数据字典类型
     def getVectorYwlx(self):
         self.cur.execute(
-            "select distinct(t.ywlx) from t_vector_field t ")
+            "select distinct(t.ywlx) from t_vector_ywlx t ")
         rows = self.cur.fetchall()
         return rows