org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.builder.BuilderException:
Caused by: org.apache.ibatis.builder.BuilderException:
<if test="name != null and name != ''">
AND name LIKE CONCAT('%',#{name},'%');
</if>
注意if语句中的test中的and必须是小写,如果是AND则抛出org.apache.ibatis.builder.BuilderException:异常