mybatis 中用tinyint保存Boolean类型的时候,直接使用false和true就可以,mybatis会自动映射。 但是要注意的是,一般的mapper.xml中写where的时候会判断.
確定! 回上一頁