Commit 5d857103 authored by yanzg's avatar yanzg

修改实体位置

parent 2f98dab2
......@@ -124,7 +124,7 @@ public class ObjectHelper {
public static <T> T get(Class<T> cls, Object target, String field, T def) {
Object val = get(target, field);
T to = StringHelper.to(cls, val);
return to == null ? def : null;
return to == null ? def : to;
}
/**
......
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