We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
现在 @TableField中的update只能在更新时生效,能否改成根据fill = FieldFill.INSERT 在新增数据时也有效果。 现在的需求中,新增时需要有创建时间,修改数据时需要有自动更新时间。 @TableField(value = "CREATED_TIME",fill = FieldFill.INSERT,update = "sysdate") @TableField(value = "UPDATED_TIME",fill = FieldFill.INSERT_UPDATE,update = "sysdate")
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
确认
功能改进
现在 @TableField中的update只能在更新时生效,能否改成根据fill = FieldFill.INSERT 在新增数据时也有效果。
现在的需求中,新增时需要有创建时间,修改数据时需要有自动更新时间。
@TableField(value = "CREATED_TIME",fill = FieldFill.INSERT,update = "sysdate")
@TableField(value = "UPDATED_TIME",fill = FieldFill.INSERT_UPDATE,update = "sysdate")
参考资料
No response
The text was updated successfully, but these errors were encountered: