and (1=1 ${if( len(canshu) == 0 or canshu ='aaa',"","and cola in ('" +canshu+ "')")})我这么写不对啊,
不能用or,要用||
where 1=1 ${if( len(canshu) == 0||canshu ='aaa',"","and cola in ('" +canshu+ "')")}
where 1=1 ${if( len(canshu) == 0 or canshu ='aaa',"","and cola in ('" +canshu+ "')")}