Skip to content

Commit

Permalink
chore[orm]: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysunxiao committed May 23, 2024
1 parent 3b9cd7b commit 07d1b17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orm/src/main/java/com/zfoo/orm/model/IEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 07d1b17

Please sign in to comment.