作者 yangfu

fix: field naming error

@@ -119,7 +119,7 @@ func MappingFieldsV2(mainTable *domain.Table, fields []*domain.Field) []*domain. @@ -119,7 +119,7 @@ func MappingFieldsV2(mainTable *domain.Table, fields []*domain.Field) []*domain.
119 fields[i].Flag = v.Flag 119 fields[i].Flag = v.Flag
120 builder.NewDataField(v.Name, v.SQLType, v.Flag) 120 builder.NewDataField(v.Name, v.SQLType, v.Flag)
121 } else { 121 } else {
122 - if f.Flag == domain.ManualField && f.Index == 0 { 122 + if f.Flag == domain.ManualField {
123 //mainTable.DataFieldIndex += 1 123 //mainTable.DataFieldIndex += 1
124 fields[i] = builder.NewDataField(f.Name, f.SQLType, domain.ManualField) 124 fields[i] = builder.NewDataField(f.Name, f.SQLType, domain.ManualField)
125 fields[i].Description = f.Description 125 fields[i].Description = f.Description