mybatis+oracle实现模糊查询
注意:在oracle中 concat不支持三个参数的 如concat(’%’,#{studentName},’%’)
三个参数必须嵌套:(如下)
select * from gather_config where sid_servername
like concat(concat('%','cr'),'%')
mybatis+oracle实现模糊查询
注意:在oracle中 concat不支持三个参数的 如concat(’%’,#{studentName},’%’)
三个参数必须嵌套:(如下)
select * from gather_config where sid_servername
like concat(concat('%','cr'),'%')