Commit b06d0fee by 黄静

hj

parent a22d18be
...@@ -22,7 +22,7 @@ class IndexGet: ...@@ -22,7 +22,7 @@ class IndexGet:
def Subscribe(self,span,company_type): def Subscribe(self,span,company_type):
cursor = self.conn.cursor() cursor = self.conn.cursor()
list = [] list = []
sql = "SELECT * from gongshi2 WHERE span = %s and vat_type = %s order by indexName;" sql = "SELECT * from gongshi WHERE span = %s and vat_type = %s order by indexName;"
try: try:
# 执行SQL语句 # 执行SQL语句
cursor.execute(sql,[span,company_type]) cursor.execute(sql,[span,company_type])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment