Mybatis中的like查询

来源:互联网 发布:机器人编程培训班 编辑:程序博客网 时间:2024/05/21 09:53
<if test="templateName != null and templateName != ''">                AND template_name LIKE CONCAT('%',#{templateName,jdbcType=VARCHAR},'%')</if>


0 0