<if test="templateName != null and templateName != ''">
AND template_name LIKE CONCAT('%',#{templateName,jdbcType=VARCHAR},'%')
</if>
Mybatis中的like查询
最新推荐文章于 2023-05-22 15:02:56 发布
<if test="templateName != null and templateName != ''">
AND template_name LIKE CONCAT('%',#{templateName,jdbcType=VARCHAR},'%')
</if>