Merge remote-tracking branch 'origin/main'

This commit is contained in:
godotg committed 2024-08-20 13:28:13 +08:00
commit 4f369e1ca6
1 file changed
+1 -3
+1 -3
View File
@@ -25,9 +25,7 @@ public interface IEntityCache<PK extends Comparable<PK>, E extends IEntity<PK>>
/**
* EN: Load data from the database to the cache and return a default value with an empty ID if the database does not exist.
* This can use the entity.empty() method to determine if the id is empty
* <p>
* CN: 从数据库中加载数据到缓存,如果数据库不存在则返回一个id为空的默认值。可以通过 entity.empty() 方法判断id是否为空
* CN: 从数据库中加载数据到缓存,如果数据库不存在则返回一个id为空的默认值。
*/
@Nullable
E load(PK pk);