Mysql数据库
str = "and indexNum like concat('%',?,'%')"
Oracle
str = "like '%' || ? || '%'"
SQL Server str = "like '%' + ? + '%'"