-
select * from record
-
<where>
-
<if test="spuName!= null and spuName!= ''">
-
MERCHANT_NO like CONCAT('%','${spuName}','%' )
-
</if>
java.sql.SQLException: Parameter index out of range(mybatis的模糊查询)
最新推荐文章于 2024-11-17 21:54:06 发布
select * from record
<where>
<if test="spuName!= null and spuName!= ''">
MERCHANT_NO like CONCAT('%','${spuName}','%' )
</if>