mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-05-17 23:00:20 +00:00
perf[orm]: 优化注释
This commit is contained in:
@@ -512,7 +512,7 @@ public class OrmManager implements IOrmManager {
|
||||
var valueType = types[1];
|
||||
|
||||
if (!isBaseType((Class<?>) keyType)) {
|
||||
throw new RunException("ORM[class:{}]类型声明不正确,Map的key类型必须为基础类型", clazz.getCanonicalName());
|
||||
throw new RunException("ORM[class:{}]类型声明不正确,Map的key类型必须为基础类型,value必须是普通的pojo", clazz.getCanonicalName());
|
||||
}
|
||||
|
||||
checkSubEntity(clazz, valueType);
|
||||
|
||||
Reference in New Issue
Block a user