Mybatis-plus in three ways how to exclude non-table fields

1.transient keyword

2. Use static variables (static)

3.TableField(exit=false)

These three methods can be used in the process, object attributes are not serialized. (Directly ignored)

 

Guess you like

Origin www.cnblogs.com/qingmuchuanqi48/p/11901982.html