<where>
<if test="tel != null and tel != ''">
TEL LIKE CONCAT('%',#{tel},'%')
</if>
</where>
mybatis模糊查询写法
最新推荐文章于 2024-08-10 16:15:08 发布
<where>
<if test="tel != null and tel != ''">
TEL LIKE CONCAT('%',#{tel},'%')
</if>
</where>