--mybatis 多关键字查询
<if test="nameList !=null and nameList.size()!=0">
and
<foreach collection="nameList" item="item" index="index" open="(" separator=" or " close=")" >
name like concat('%', #{item}, '%')
</foreach>
</if>
02-26
656
656

被折叠的 条评论
为什么被折叠?



