mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-13 00:15:24 +00:00
chore[orm]: comment
This commit is contained in:
1 parent
3b9cd7b47a
commit
07d1b170d5
1 file changed
+1
-1
@@ -56,7 +56,7 @@ public interface IEntity<PK extends Comparable<PK>> {
|
||||
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 {
|
||||
|
||||
Reference in new issue
Block a user