publicboolean findAdmin(Admin admin){
String sql="select count(*) from admin where username='"+admin.getusername()+"'and password='"+admin. getPassword()+"'";//SQL查询语句
try {
Resultset res =this.com.createStatement().executeQuery(sql);//执行SQL语句if(res.next()){
int i = res.getInt(1);