public class UserPage extends BasicPage {
public String name="";
@Override
public void addParameter() {

System.out.println("------------->"+name);
sql="select * from user  where name like '%"+name+"%'     " + " limit "
+ (this.getPageNo() - 1) * this.getPageSize() + "," + this.getPageSize() + "  ";
sql_count=" select count(*) from user  where name like  '%"+name+"%' ";

}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}

}