<where>
<if test="tel != null and tel != ''">
TEL LIKE CONCAT('%',#{tel},'%')
</if>
</where>
mybatis模糊查询写法
最新推荐文章于 2022-09-13 22:23:55 发布
<where>
<if test="tel != null and tel != ''">
TEL LIKE CONCAT('%',#{tel},'%')
</if>
</where>