select * from smbms_provider
where proname LIKE CONCAt (CONCAt('%', #{proName}), '%')
and proCode like CONCAt (CONCAt('%', #{proCode}), '%')
模糊查询
一种使用java代码拼接
getProviderList ("%"+"北京"+"%", "%"+"BJ"+"%");
一种使用
where proname LIKE CONCAt (CONCAt('%', #{proName}), '%')


