修改数据库表名

pull/1/head
you 5 years ago
parent b1a2337b4a
commit 2f9ecc9f1a

2
.gitignore vendored

@ -2,4 +2,4 @@
.project
.metadata
.settings
build
/build

@ -27,7 +27,7 @@ public class Admin {
Connection connection = null;
PreparedStatement pstmt = null;
ResultSet resultSet = null;
String sql = "select * from system_manager where username=? and password=? limit 1";
String sql = "select * from admin where username=? and password=? limit 1";
connection = Base.getConnection();
pstmt = (PreparedStatement) connection.prepareStatement(sql);
pstmt.setString(1, username);

Loading…
Cancel
Save