Commit 6af8c54c authored by yanzg's avatar yanzg

修改实体位置

parent a6724141
...@@ -429,6 +429,8 @@ public class StringHelper { ...@@ -429,6 +429,8 @@ public class StringHelper {
return (T) from; return (T) from;
} else if (cls == Map.class && from instanceof Map) { } else if (cls == Map.class && from instanceof Map) {
return (T) from; return (T) from;
} else if (cls == Object.class) {
return (T) from;
} else { } else {
if (ObjectHelper.isSub(cls, from.getClass())) { if (ObjectHelper.isSub(cls, from.getClass())) {
return (T) from; return (T) from;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment