|
|
|
@ -35,6 +35,7 @@ import java.io.IOException;
|
|
|
|
|
import java.io.StringWriter;
|
|
|
|
|
import java.nio.charset.StandardCharsets;
|
|
|
|
|
import java.util.*;
|
|
|
|
|
import java.util.function.Function;
|
|
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
import java.util.zip.ZipEntry;
|
|
|
|
|
import java.util.zip.ZipOutputStream;
|
|
|
|
@ -295,9 +296,9 @@ public class GenTableServiceImpl implements IGenTableService {
|
|
|
|
|
// 如果是列表,继续保留字典类型
|
|
|
|
|
column.setDictType(prevColumn.getDictType());
|
|
|
|
|
}
|
|
|
|
|
genTableColumnMapper.updateGenTableColumn(column);
|
|
|
|
|
genTableColumnMapper.updateById(column);
|
|
|
|
|
} else {
|
|
|
|
|
genTableColumnMapper.insertGenTableColumn(column);
|
|
|
|
|
genTableColumnMapper.insert(column);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
if (CollUtil.isNotEmpty(saveColumns)) {
|
|
|
|
|