Mybatis 查询tinyint(1)的数据库字段时会自动转换成boolean类型

解决方案:将字段的tinyint(1)变成tinyint(2)

猜你喜欢

转载自www.cnblogs.com/liaojie970/p/8906965.html
今日推荐