mybatis-puls 实体有枚举时查询返回null的情况 数据库字段类型为tinyint(1): 默认resultSet.getObject() 获取到的是Boolean 类型,顾原枚举中无此值对应的枚举,返回null.