From 77de00767415321f6c6ce508128d936af8cdf639 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 14 Aug 2019 17:49:43 +0800 Subject: [PATCH] crud --- sqlor/crud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlor/crud.py b/sqlor/crud.py index f61da17..1010d7c 100755 --- a/sqlor/crud.py +++ b/sqlor/crud.py @@ -204,7 +204,7 @@ class CRUD(object): await addSQL(self.dbname,data) data = self.oa.execute(self.dbname+'_'+self.tablename,'afterAdd',data) print('data=',data,'MMMMMMMMMMMMMM') - return {k:v} + return {k:date[k]} return data async def defaultFilter(self,NS):