作者 yangfu

业务表同步

... ... @@ -177,7 +177,12 @@ func (tableService *TableService) GenerateBusinessTable(ctx *domain.Context, cmd
continue
}
var filedName = f.FieldZhName
if cmd.ShowTableFieldNameBy == 0 && filedName == "" {
// 使用备注名
if cmd.ShowTableFieldNameBy == 0 {
filedName = f.FieldEnName
}
// 字段为空时显示原字段名
if cmd.ShowTableFieldNameBy == 1 && filedName == "" {
filedName = f.FieldEnName
}
fields = append(fields, &domain.Field{
... ...