mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-14 18:19:28 +00:00
perf[orm]: 优化注释
This commit is contained in:
1 parent
45022be3ce
commit
aa523d3aa3
1 file changed
+1
-1
@@ -512,7 +512,7 @@ public class OrmManager implements IOrmManager {
|
|||||||
var valueType = types[1];
|
var valueType = types[1];
|
||||||
|
|
||||||
if (!isBaseType((Class<?>) keyType)) {
|
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);
|
checkSubEntity(clazz, valueType);
|
||||||
|
|||||||
Reference in new issue
Block a user