From 531ab3aa2866048c360d6a284ed63d95499399e2 Mon Sep 17 00:00:00 2001 From: sjm <2431685932@qq.com> Date: Mon, 3 Jul 2023 12:53:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A1=E7=8C=AE=E5=80=BC(=E4=BF=AE=E6=AD=A3s?= =?UTF-8?q?ql)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/hellogithub/dao/UserDao.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/hellogithub/dao/UserDao.java b/src/com/hellogithub/dao/UserDao.java index 284ecc7..b627311 100644 --- a/src/com/hellogithub/dao/UserDao.java +++ b/src/com/hellogithub/dao/UserDao.java @@ -220,7 +220,6 @@ public class UserDao { } }catch(Exception e){ e.printStackTrace(); - return 0; }finally { try{ conn.close(); @@ -229,7 +228,7 @@ public class UserDao { }catch(Exception e){ e.printStackTrace(); } - } + }return Value; } public int addLabel(String username,String str){ @@ -283,4 +282,5 @@ public class UserDao { return label; } + }