From fc63aa0bc980293a8b5150b1159664ff1d8b0367 Mon Sep 17 00:00:00 2001 From: "blake.qiu" Date: Sun, 16 Jun 2024 02:22:34 +0800 Subject: [PATCH] fix(#12231): When inserting and updating configurations in the database, the time-related field values need to be set using the time obtained from the database's built-in time function. --- .../extrnal/ExternalConfigInfoTagPersistServiceImpl.java | 1 - 1 file changed, 1 deletion(-) diff --git a/config/src/main/java/com/alibaba/nacos/config/server/service/repository/extrnal/ExternalConfigInfoTagPersistServiceImpl.java b/config/src/main/java/com/alibaba/nacos/config/server/service/repository/extrnal/ExternalConfigInfoTagPersistServiceImpl.java index 5016f5ffd1d..7ade6652b3d 100644 --- a/config/src/main/java/com/alibaba/nacos/config/server/service/repository/extrnal/ExternalConfigInfoTagPersistServiceImpl.java +++ b/config/src/main/java/com/alibaba/nacos/config/server/service/repository/extrnal/ExternalConfigInfoTagPersistServiceImpl.java @@ -48,7 +48,6 @@ import org.springframework.stereotype.Service; import org.springframework.transaction.support.TransactionTemplate; -import java.sql.Timestamp; import java.util.Arrays; import java.util.Collections; import java.util.List;