修复短类型有时无法获取bug

This commit is contained in:
makejava 2018-11-01 09:40:29 +08:00
parent fca1a0e43a
commit 534420b33b
1 changed files with 2 additions and 2 deletions

View File

@ -171,9 +171,9 @@ public class TableInfoServiceImpl implements TableInfoService {
// 覆盖空值
if (configColumn.getType() == null) {
configColumn.setType(column.getType());
// 短类型
configColumn.setShortType(nameUtils.getClsNameByFullName(configColumn.getType()));
}
// 短类型
configColumn.setShortType(nameUtils.getClsNameByFullName(configColumn.getType()));
if (configColumn.getComment() == null) {
configColumn.setComment(column.getComment());
}