为什么查询的时候总是显示所有

public List getList(int xh)
{
String where="";
if(xh!=0)
{
where=where+" where xuehao="+xh+"";
}
return this.findAll("");
}
}

 public List getList(int xh)
{
String where="";
if(xh!=0)
{
where=where+" where xuehao="+xh+"";
}
return this.findAll(where);//是不是你师傅写的时候这里写的是where,不是""
}
}

this.findAll,这个跟where条件有关系吗

完全看不到任何关键的代码