同一个参数既要实现参数为空选择全部,又要实现模糊查询,应该怎么做呢
${if(len(area) == 0,"","and 货主地区 like '%" + area + "%'")}
${if(len(参数)==0,"","and 字段 like 参数")}