Compare commits

...

2 Commits

Author SHA1 Message Date
yumoqing
d4169094e8 bugfix 2025-01-17 18:14:14 +08:00
yumoqing
261c18fe38 bugfix 2025-01-17 17:59:40 +08:00

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, debug 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):