发布项目时查询
This commit is contained in:
@@ -70,6 +70,7 @@ public class githubDao {
|
|||||||
String sql = "select * from githubinfo where projectId = ? and isValid = 1";
|
String sql = "select * from githubinfo where projectId = ? and isValid = 1";
|
||||||
prep = conn.prepareStatement(sql);
|
prep = conn.prepareStatement(sql);
|
||||||
prep.setInt(1, projectid);
|
prep.setInt(1, projectid);
|
||||||
|
rs = prep.executeQuery(sql);
|
||||||
while (rs.next()) {
|
while (rs.next()) {
|
||||||
rsmd = rs.getMetaData();
|
rsmd = rs.getMetaData();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user