|
@ -159,6 +159,7 @@ public class Utils implements ApplicationContextAware{ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public static Object getProperty(Object obj,String property){ |
|
|
public static Object getProperty(Object obj,String property){ |
|
|
|
|
|
if(obj==null)return null; |
|
|
try{ |
|
|
try{ |
|
|
if(obj instanceof Map && property.indexOf(".")==-1){ |
|
|
if(obj instanceof Map && property.indexOf(".")==-1){ |
|
|
Map<?,?> map=(Map<?,?>)obj; |
|
|
Map<?,?> map=(Map<?,?>)obj; |
|
|