From 501d1a3a3f163d75775138fac9966fcb8f3c95a2 Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Mon, 19 Feb 2024 20:46:38 +0800 Subject: [PATCH] fix --- vas/fill_oid3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vas/fill_oid3.py b/vas/fill_oid3.py index 53fce3b..4381bca 100644 --- a/vas/fill_oid3.py +++ b/vas/fill_oid3.py @@ -8,6 +8,6 @@ for d in data: oid3 = d[1] sql = '''update vas_order set oid3="%s" where id="%s"''' - mysql.exec(sql, (oid3, _id)) - print(_id) + ret = mysql.exec(sql, (oid3, _id)) + print(_id, ret) break