首页 > TAG信息列表 > 44457814

转!mybatis字符串比较 注意事项

注意坑:当常量的length=1时,因为mybatis会把’1’解析为字符,java是强类型语言,所以不能这样写。如果常量的length>1就不会出现这个问题。           转自: https://blog.csdn.net/weixin_44457814/article/details/107496743 https://blog.csdn.net/weixin_44457814/article/de