修正根据文章id查找username问题

This commit is contained in:
sjm
2023-07-04 21:20:43 +08:00
parent 05308db3d0
commit c4b25782df

View File

@@ -115,7 +115,7 @@ public class articleDao {
preparedStatement1 = conn1.prepareStatement(sql1);
rs = preparedStatement.executeQuery();
preparedStatement1.executeQuery(sql1);
preparedStatement1.execute(sql1);
while(rs.next()){
int articleid = rs.getInt(1);