From 178898a919eb3dded92bdd852b882ca1f977b892 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 16 Mar 2022 16:52:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=88=9B=E5=BB=BA=E6=97=A5?= =?UTF-8?q?=E5=BF=97bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hb_server/apps/wpm/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hb_server/apps/wpm/services.py b/hb_server/apps/wpm/services.py index 74af318..4440122 100644 --- a/hb_server/apps/wpm/services.py +++ b/hb_server/apps/wpm/services.py @@ -177,7 +177,7 @@ class WpmService(object): for i in instances: ins = WproductFlow() ins.wproduct = i - for f in WproductFlow.__meta.fields: + for f in WproductFlow._meta.fields: if f.name not in ['id', 'wproduct', 'is_lastlog']: setattr(ins, f.name, getattr(i, f.name, None)) ins.change_str = change_str