diff --git a/src/com/hellogithub/dao/githubDao.java b/src/com/hellogithub/dao/githubDao.java index da3500a..9850cfe 100644 --- a/src/com/hellogithub/dao/githubDao.java +++ b/src/com/hellogithub/dao/githubDao.java @@ -67,7 +67,7 @@ public class githubDao { Connection conn = JdbcUtils.getConnection(); PreparedStatement prep = null; ResultSet rs = null; - String sql = "select * from githubinfo where projectId = ? and isValid = 1"; + String sql = "select * from githubinfo WHERE projectId = ? AND isVaild = 0;"; prep = conn.prepareStatement(sql); prep.setInt(1, projectid); rs = prep.executeQuery(sql);