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) {