修复表结构同步功能
This commit is contained in:
parent
2006cd7132
commit
1cf0e277e8
|
|
@ -293,6 +293,8 @@ public class GenerateServiceImpl implements IGenerateService {
|
|||
.eq("table_id", id)
|
||||
.orderByAsc("sort"));
|
||||
|
||||
Assert.isFalse(StringUtil.isEmpty(genTableColumns), "原表数据异常!");
|
||||
|
||||
// 原表转Map
|
||||
Map<String, GenTableColumn> tableColumnMap = genTableColumns
|
||||
.stream().collect(Collectors.toMap(GenTableColumn::getColumnName, Function.identity()));
|
||||
|
|
|
|||
Loading…
Reference in New Issue