标签:lin and mat XML bsp number tostring pre 告诉
在mybatis中sql,test中文报错( java.lang.NumberFormatException 这句话明确告诉了我们是数字格式异常)。需加.tostring().
<if test="bookName == ‘毛选集’.tostring() "> and b.book_Name like #{bookName} </if>
标签:lin and mat XML bsp number tostring pre 告诉
原文地址:http://www.cnblogs.com/ckxlovejava/p/6683453.html