|
@@ -64,6 +64,9 @@ public class CryptPojoUtils {
|
|
|
} else if (field.getType().equals(List.class)) {
|
|
|
field.setAccessible(true);
|
|
|
List fieldValue = (List) field.get(t);
|
|
|
+ if (ListUtil.isEmpty(fieldValue)) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
for (Object listValue : fieldValue) {
|
|
|
encryptField(listValue);
|
|
|
}
|
|
@@ -127,6 +130,9 @@ public class CryptPojoUtils {
|
|
|
} else if (field.getType().equals(List.class)) {
|
|
|
field.setAccessible(true);
|
|
|
List fieldValue = (List) field.get(t);
|
|
|
+ if (ListUtil.isEmpty(fieldValue)) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
for (Object listValue : fieldValue) {
|
|
|
decryptField(listValue);
|
|
|
}
|