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

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

原文地址:https://www.cnblogs.com/liaojie970/p/8906965.html