From 9236b004ffb4215f10db41c3fc32939b9d97c081 Mon Sep 17 00:00:00 2001 From: User_cyk <1020691186@qq.com> Date: Tue, 11 Jul 2023 14:05:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B7=BB=E5=8A=A0=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/hellogithub/dao/projectDao.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/hellogithub/dao/projectDao.java b/src/com/hellogithub/dao/projectDao.java index 0352304..cc9d024 100644 --- a/src/com/hellogithub/dao/projectDao.java +++ b/src/com/hellogithub/dao/projectDao.java @@ -289,7 +289,7 @@ public class projectDao { try { Connection conn = JdbcUtils.getConnection(); QueryRunner runner = new QueryRunner(); - String sql ="update project set fileAddress = ? where projectName = ? and isValid = 1"; + String sql ="update project set fileAddress = ? where projectName = ? "; num = runner.update(conn, sql,fileAddress,projectName); conn.close(); } catch (SQLException e) {