|
@@ -108,12 +108,12 @@ public class CoreUtil {
|
|
|
return res;
|
|
|
}
|
|
|
|
|
|
- public static <T> void setPropertyList(T list, String propertyName, String standName, Map<String, String> map) {
|
|
|
- if (list == null) {
|
|
|
+ public static <T> void setPropertyList(T t, String propertyName, String standName, Map<String, String> map) {
|
|
|
+ if (t == null) {
|
|
|
return;
|
|
|
}
|
|
|
try {
|
|
|
- setFieldValue(list, propertyName, standName, map);
|
|
|
+ setFieldValue(t, propertyName, standName, map);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|