<!-- oracle -->
<select id="searchUserBySearchName" parameterType="java.lang.String" resultType="com.urm.entity.User">
select * from t_user where user_name like CONCAT('%',#{search_name},'%')
</select>
<!-- 或者 -->
select * from t_user where user_name like '%'||#{search_name}||'%'
<!-- mysql -->
<!-- sql server -->
select * from t_user where user_name like '%'+#{search_name}+'%'
<!-- db2 -->
select * from t_user where user_name like CONCAT('%',#{search_name},'%')