解决:利用永真式1=1 Stringsql="select * from business where 1=1 ";if(businessName!=null&&!businessName.equals("")){//判断字符串是否为空sql +="and businessName like '%"+businessName+"%'"; }if(businessAddress!=null&&!businessAddress.equals("")){//判断字符串是否为空sql +="and busine...