From 46bbee4f64a6858f8634ae7af3d0cb827a28d916 Mon Sep 17 00:00:00 2001 From: Cheng Xihong Date: Mon, 8 Aug 2022 18:08:06 +0800 Subject: [PATCH] optimize mybatisPlus config #501 (#503) --- .../main/java/cn/hippo4j/config/config/MyMetaObjectHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hippo4j-config/src/main/java/cn/hippo4j/config/config/MyMetaObjectHandler.java b/hippo4j-config/src/main/java/cn/hippo4j/config/config/MyMetaObjectHandler.java index 67fee387..0a1a2771 100644 --- a/hippo4j-config/src/main/java/cn/hippo4j/config/config/MyMetaObjectHandler.java +++ b/hippo4j-config/src/main/java/cn/hippo4j/config/config/MyMetaObjectHandler.java @@ -41,6 +41,6 @@ public class MyMetaObjectHandler implements MetaObjectHandler { @Override public void updateFill(MetaObject metaObject) { - this.strictInsertFill(metaObject, "gmtModified", Date.class, new Date()); + this.strictUpdateFill(metaObject, "gmtModified", Date.class, new Date()); } }