报错信息
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: java.lang.NumberFormatException: For input string: "xxx"
### Cause: java.lang.NumberFormatException: For input string: "xxx"
java.util.concurrent.CompletionException: org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
解决办法
<if test='test == "xxx" '>
</if>
<if test="test == 'xxx'.toString()">
</if>