-
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的模糊查询)
最新推荐文章于 2022-10-27 16:19:20 发布
select * from record
<where>
<if test="spuName!= null and spuName!= ''">
MERCHANT_NO like CONCAT('%','${spuName}','%' )
</if>