作者 yangfu

业务表同步

@@ -177,7 +177,7 @@ func (tableService *TableService) GenerateBusinessTable(ctx *domain.Context, cmd @@ -177,7 +177,7 @@ func (tableService *TableService) GenerateBusinessTable(ctx *domain.Context, cmd
177 continue 177 continue
178 } 178 }
179 var filedName = f.FieldZhName 179 var filedName = f.FieldZhName
180 - if cmd.ShowTableFieldNameBy == 0 { 180 + if cmd.ShowTableFieldNameBy == 0 && filedName == "" {
181 filedName = f.FieldEnName 181 filedName = f.FieldEnName
182 } 182 }
183 fields = append(fields, &domain.Field{ 183 fields = append(fields, &domain.Field{