- !=
<if test="xxx != null and xxx !=''">
- ==(相较于!=,需将双引号和单引号的位置换一下)
<if test='xxx == "字符串"'>
或者
<if test="xxx =='字符串'.toString()">
<if test="xxx != null and xxx !=''">
<if test='xxx == "字符串"'>
或者
<if test="xxx =='字符串'.toString()">