From 540a421edc836f37299c1ff6a177e98b18975387 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 14 Aug 2019 18:10:00 +0800 Subject: [PATCH] crud --- sqlor/crud.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sqlor/crud.py b/sqlor/crud.py index 1010d7c..ae78a5b 100755 --- a/sqlor/crud.py +++ b/sqlor/crud.py @@ -203,8 +203,7 @@ class CRUD(object): data = self.oa.execute(self.dbname+'_'+self.tablename,'beforeAdd',data) await addSQL(self.dbname,data) data = self.oa.execute(self.dbname+'_'+self.tablename,'afterAdd',data) - print('data=',data,'MMMMMMMMMMMMMM') - return {k:date[k]} + return {k:data[k]} return data async def defaultFilter(self,NS):