修正根据文章id查找username问题
This commit is contained in:
1 parent
c4b25782df
commit
85d0d090ce
1 file changed
+1
-1
@@ -115,7 +115,7 @@ public class articleDao {
|
|||||||
preparedStatement1 = conn1.prepareStatement(sql1);
|
preparedStatement1 = conn1.prepareStatement(sql1);
|
||||||
|
|
||||||
rs = preparedStatement.executeQuery();
|
rs = preparedStatement.executeQuery();
|
||||||
preparedStatement1.execute(sql1);
|
preparedStatement1.executeUpdate(sql1);
|
||||||
|
|
||||||
while(rs.next()){
|
while(rs.next()){
|
||||||
int articleid = rs.getInt(1);
|
int articleid = rs.getInt(1);
|
||||||
|
|||||||
Reference in new issue
Block a user