关于Mybatis的一些Bug

1:Caused by: java.lang.NumberFormatException: For input string: "null"     问题描述:一个数字类型的值不能判断是否为"null"     问题原因:Mapper.xml 文件中我传过去的peoles是一个Integer类型,这里test中与"null"判断,是一个字符串"null",而不是null。     解决方案:把对应
相关文章
相关标签/搜索