mybatis oracle和mysql like模糊查询写法

oracle:RESOURCE_NAME LIKE '%' || #{resourceName} || '%'
mysql:RESOURCE_NAME like concat(concat("%",#{paramMap.RESOURCE_NAME}),"%")

转载于:https://www.cnblogs.com/cailijuan/p/9609131.html

你可能感兴趣的:(mybatis oracle和mysql like模糊查询写法)