This commit is contained in:
yumoqing 2025-01-17 17:59:40 +08:00
parent 33677c3413
commit 261c18fe38

View File

@ -14,7 +14,7 @@ from appPublic.myTE import MyTemplateEngine
from appPublic.objectAction import ObjectAction from appPublic.objectAction import ObjectAction
from appPublic.argsConvert import ArgsConvert,ConditionConvert from appPublic.argsConvert import ArgsConvert,ConditionConvert
from appPublic.registerfunction import RegisterFunction from appPublic.registerfunction import RegisterFunction
from appPublic.log import info from appPublic.log import info, exception, debug
from .filter import DBFilter from .filter import DBFilter
def db_type_2_py_type(o): def db_type_2_py_type(o):
@ -235,8 +235,8 @@ class SQLor(object):
return cursor.execute(markedSQL,datas) return cursor.execute(markedSQL,datas)
except Exception as e: except Exception as e:
print( "markedSQL=",markedSQL,':',datas,':',e) fe = format_exc()
print_exc() exception( f"{markedSQL=},{datas=}, {e=}, {fe=}')
raise e raise e
def maskingSQL(self,org_sql,NS): def maskingSQL(self,org_sql,NS):