Commit 46f04e1a by sanshi

trigger数据库类 bug

parent 743901ad
......@@ -87,7 +87,7 @@ class DataTriggers(object):
self.log.debug("查询数据库:")
try:
self.log.debug("删除相关测试数据")
session.query(self.table).filte(self.table.description.like(description + "%")).delete(synchronize_session=False)
session.query(self.table).filter(self.table.description.like(description + "%")).delete(synchronize_session=False)
# session.delete(sql)
session.commit()
session.close()
......
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