Cause: java.lang.NumberFormatException: For input string: “{0=null}”
xml文件的mybatis代码中 参数是int类型,mybatis框架中#号为了防止sql注入,对所有的数据都加上了双引号,所以在int类型是 直接不用写#{} 或者改为 ${} 包裹即可
mapper
xml
本bug的解决办法参考链接
xml文件的mybatis代码中 参数是int类型,mybatis框架中#号为了防止sql注入,对所有的数据都加上了双引号,所以在int类型是 直接不用写#{} 或者改为 ${} 包裹即可
mapper
xml
本bug的解决办法参考链接