Mybatis if test中字符串比较

<if test=" name=='你好' ">

<if>

这样会有问题,换成

<if test=' name=="你好" '>

<if>

我是这样解决的

参考:https://code.google.com/p/mybatis/issues/detail?id=262

原文地址:https://www.cnblogs.com/andysd/p/3738197.html