mysql判读参数是否为单引号"''"需要转意
<if test='paramMap.testStr != null and paramMap.testStr != "''"'>
and 1=2
</if>
<if test='paramMap.testStr != null and paramMap.testStr != "''"'>
and 1=2
</if>
1312

被折叠的 条评论
为什么被折叠?