From d47ae51269ce126446f148c7e73f1addd175e38d Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 27 Aug 2019 21:37:00 +0800 Subject: [PATCH] fixbug --- sqlor/crud.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sqlor/crud.py b/sqlor/crud.py index ae78a5b..6e93e65 100755 --- a/sqlor/crud.py +++ b/sqlor/crud.py @@ -259,12 +259,12 @@ class CRUD(object): if NS.get('sort',None) is None: NS['sort'] = p[0]['field_name'] - data = self.oa.execute(self.dbname+'_'+self.tablename,'beforeRetieve',NS) + data = self.oa.execute(self.dbname+'_'+self.tablename,'beforeRetrieve',NS) if NS.get('page'): data = await pagingdata(self.dbname,data) else: data = await retrieve(self.dbname,data) - data = self.oa.execute(self.dbname+'_'+self.tablename,'afterRetieve',data) + data = self.oa.execute(self.dbname+'_'+self.tablename,'afterRetrieve',data) return data async def U(self,data):