最后在做mybatis的模糊查找 ,似乎可以这样做
<if test="condition!=null">
AND (createdate LIKE concat('%','${condition}','%')
OR customer LIKE concat('%','${condition}','%')
OR contacts LIKE concat('%','${condition}','%')
OR contactnum LIKE concat('%','${condition}','%')
OR Funnelvalue LIKE concat('%','${condition}','%')
OR remark LIKE concat('%','${condition}','%'))
</if>