String where=" 1=1 "; if(ti!=null){ where = where + " AND ti LIKE '%"+ti+"%'"; } if(an!=null){ where = where + " AND an LIKE '%"+an+"%'"; } if(pa!=null){ where = where + " AND NOT pa LIKE '%"+pa+"%'"; } if(pd!=null){ where = "
贴出 表达式