myBatis-模糊查询(like)

<if test="model != null  and model != ''">model like concat('%', #{model}, '%')if>
<if test="hull != null  and hull != ''">and hull like concat('%', #{hull}, '%')if>

你可能感兴趣的:(springboot,mybatis,springboot,xml)