forked from github/dataease
feat(SQL): SQL模式下,datasetTableField的原字段名,取select field as new_field ...as后边的值
This commit is contained in:
parent
0bf906779e
commit
2756e73609
@ -100,7 +100,7 @@ public class JdbcProvider extends DatasourceProvider {
|
||||
String l = StringUtils.isNotEmpty(metaData.getColumnLabel(j + 1)) ? metaData.getColumnLabel(j + 1) : f;
|
||||
String t = metaData.getColumnTypeName(j + 1);
|
||||
TableFiled field = new TableFiled();
|
||||
field.setFieldName(f);
|
||||
field.setFieldName(l);
|
||||
field.setRemarks(l);
|
||||
field.setFieldType(t);
|
||||
fieldList.add(field);
|
||||
|
Loading…
Reference in New Issue
Block a user