比如共有3个字段,aa , bb , cc我想用一个参数xxx对这3个字段进行模糊查询SELECT * FROM test1 where 1=1 ${if(len(xxx) == 0,"","and aa like '%" + xxx + "%'")} and 1=1 ${if(len(xxx) == 0,"","and bb like '%" + xxx + "%'")} and 1=1 ${if(len(xxx) == 0,"","and cc like '%" + xxx + "%'")} 测试发现这样写,一条数据也查不出来,是哪里写错了吗