如何排除非表字段的三种方式 1.使用关键字 transient 不参与序列化. 2.static标识为静态变量.(如果需要被序列化时候.) 3.@TableField(exist=false) 对应数据库中是否存在.