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