mybatis plus自動填充功能整合

自動填充,意味着就是設置默認值,不依賴數據庫設置默認值,依賴程序實現。 首先定義自動填充字段web /** * 建立時間 */ @TableField(fill = FieldFill.INSERT) private Date createTime; /** * 修改時間 */ @TableField(fill = Fiel
相關文章
相關標籤/搜索