|
...
|
...
|
@@ -28,7 +28,7 @@ public class OperatingData { |
|
|
|
Object object = field.get(value);
|
|
|
|
if(null != object)
|
|
|
|
{
|
|
|
|
if(object.getClass().isPrimitive())
|
|
|
|
if(isWrapperType(object))
|
|
|
|
{
|
|
|
|
operatingDataType.setValue(field,object);
|
|
|
|
ifOperatingDataValueIsNotNull.exeValue(field.getName(),object);
|
|
...
|
...
|
@@ -80,4 +80,10 @@ public class OperatingData { |
|
|
|
}
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static boolean isWrapperType(Object object) {
|
|
|
|
return object instanceof Integer || object instanceof Byte || object instanceof Short ||
|
|
|
|
object instanceof Long || object instanceof Float || object instanceof Double ||
|
|
|
|
object instanceof Character || object instanceof Boolean || object.getClass().isPrimitive();
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|