|
@@ -464,7 +464,11 @@ public class MigrationAbstractServiceImpl<T> implements IMigrationAbstractServic
|
|
|
return null;
|
|
|
}
|
|
|
Map<String, Object> targetsMap = new HashMap<>(sets.size());
|
|
|
- sets.forEach(key -> targetsMap.put(key, map.get(key)));
|
|
|
+ for(String key : sets){
|
|
|
+ if(map.containsKey(key)){
|
|
|
+ targetsMap.put(key, map.get(key));
|
|
|
+ }
|
|
|
+ }
|
|
|
return targetsMap;
|
|
|
}
|
|
|
}
|