String comparison in Mybatis if test

http://www.cnblogs.com/andysd/p/3738197.html
<if test=" name=='Hello' ">

<if>

This will be a problem, replace it with

<if test=' name==" Hello" '>

<if>



<if test=" name=='Hello'.toString()">
This can also

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326656930&siteId=291194637