Commit 527f23a8 authored by yanzg's avatar yanzg

修复bug

parent a7a67dbc
...@@ -190,7 +190,8 @@ public class ObjectHelper { ...@@ -190,7 +190,8 @@ public class ObjectHelper {
Class<?> vType = target.getClass(); Class<?> vType = target.getClass();
if (target instanceof Number || vType.isEnum()) { if (target instanceof Number || vType.isEnum()) {
return; return;
} else if (target instanceof Map) { }
if (target instanceof Map) {
((Map) target).put(field, value); ((Map) target).put(field, value);
} else { } else {
try { try {
......
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