|
|
@ -560,7 +560,7 @@ public class ReplaceUtils { |
|
|
|
} |
|
|
|
} |
|
|
|
if (widget instanceof DataControl) { |
|
|
|
if (widget instanceof DataControl) { |
|
|
|
ValueInitializer value = ((DataControl) widget).getWidgetValue(); |
|
|
|
ValueInitializer value = ((DataControl) widget).getWidgetValue(); |
|
|
|
if (value.getValue() instanceof DataBinding) { |
|
|
|
if (value != null && value.getValue() instanceof DataBinding) { |
|
|
|
DataBinding binding = (DataBinding) value.getValue(); |
|
|
|
DataBinding binding = (DataBinding) value.getValue(); |
|
|
|
for (TableReplacementEntity entity : entities) { |
|
|
|
for (TableReplacementEntity entity : entities) { |
|
|
|
if (StringUtils.equals(entity.getOldName(), binding.getDataSourceName())) { |
|
|
|
if (StringUtils.equals(entity.getOldName(), binding.getDataSourceName())) { |
|
|
|