Mybatis jdbcType = VARCHAR CHAR(2)区别 Mybatis 在传值时输入CHAR(2)时,获取不到值。参考https://blog.csdn.net/gnail_oug/article/details/77163424解决办法:加一个trim函数select * from data where trim(data.name)=#{name}... Mybatis 2023-11-23 43 点赞 0 评论 65 浏览