From 07d1b170d5f8e02b4b9b27049242c66f54ca6fb5 Mon Sep 17 00:00:00 2001 From: godotg Date: Thu, 23 May 2024 10:49:33 +0800 Subject: [PATCH] chore[orm]: comment --- orm/src/main/java/com/zfoo/orm/model/IEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orm/src/main/java/com/zfoo/orm/model/IEntity.java b/orm/src/main/java/com/zfoo/orm/model/IEntity.java index ec6205874..59b532fe2 100644 --- a/orm/src/main/java/com/zfoo/orm/model/IEntity.java +++ b/orm/src/main/java/com/zfoo/orm/model/IEntity.java @@ -56,7 +56,7 @@ default boolean empty() { if (idValue == null) { return true; } - // id在启动的时候做过校验,只能是int long float double String几种类型 + // id在启动的时候做过校验,只能是int long float double String ObjectId几种类型 if (idValue instanceof Number) { return ((Number) idValue).doubleValue() == 0D; } else {