From d8a678806228dc8b648bc6d421744f511758c269 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 7 Dec 2019 07:16:42 +0800 Subject: [PATCH] runSQL call mode change --- ahserver/globalEnv.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ahserver/globalEnv.py b/ahserver/globalEnv.py index eff5071..9ce4fa0 100755 --- a/ahserver/globalEnv.py +++ b/ahserver/globalEnv.py @@ -20,7 +20,7 @@ from appPublic.uniqueID import setNode,getID from appPublic.unicoding import unicoding,uDict,uObject from appPublic.Singleton import SingletonDecorator -from sqlor.dbpools import DBPools +from sqlor.dbpools import DBPools,runSQL,runSQLPaging from sqlor.crud import CRUD @@ -153,8 +153,8 @@ def initEnv(): g.curDatetime = curDatetime g.uObject = uObject g.uuid = getID - g.runSQL = pool.runSQL - g.runSQLPaging = pool.runSQLPaging + g.runSQL = runSQL + g.runSQLPaging = runSQLPaging g.runSQLIterator = pool.runSQL g.runSQLResultFields = pool.runSQLResultFields g.getTables = pool.getTables