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

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