【8.0.5】【db】update元数据的业务更新

pull/60/head
fengshuonan 2024-01-11 18:02:10 +08:00
parent fe43a2edfe
commit 5f0de1fbc1
1 changed files with 2 additions and 2 deletions

View File

@ -86,10 +86,10 @@ public class CustomMetaObjectHandler implements MetaObjectHandler {
try {
// 设置updateUserBaseEntity)
setValue(metaObject, DbFieldConstants.UPDATE_USER, this.getUserUniqueId());
setFieldValByName(DbFieldConstants.UPDATE_USER, this.getUserUniqueId(), metaObject);
// 设置updateTimeBaseEntity)
setValue(metaObject, DbFieldConstants.UPDATE_TIME, new Date());
setFieldValByName(DbFieldConstants.UPDATE_TIME, new Date(), metaObject);
} catch (ReflectionException e) {
log.warn("CustomMetaObjectHandler处理过程中无相关字段不做处理");
}