修复ext扩展属性丢失BUG

This commit is contained in:
makejava 2021-11-03 09:19:10 +08:00
parent 7db000655c
commit 9f8601151f
1 changed files with 2 additions and 0 deletions

View File

@ -101,6 +101,8 @@ public class TableInfoDTO {
for (ColumnInfoDTO columnInfo : oldData.getFullColumn()) { for (ColumnInfoDTO columnInfo : oldData.getFullColumn()) {
ColumnInfoDTO newColumn = map.get(columnInfo.getName()); ColumnInfoDTO newColumn = map.get(columnInfo.getName());
if (newColumn != null) { if (newColumn != null) {
// ext属性转移
newColumn.setExt(columnInfo.getExt());
tmpList.add(newColumn); tmpList.add(newColumn);
} }
} }