Browse Source

Optimization

pull/3/head
sunkaixuna 3 years ago
parent
commit
dbbc5f779e
  1. 5
      Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs

5
Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs

@ -330,12 +330,13 @@ namespace SqlSugar
WhereType = WhereType.Or;
}
}
cons.ConditionalList.Add(new KeyValuePair<WhereType, ConditionalModel>(WhereType, new ConditionalModel()
var data = new KeyValuePair<WhereType, ConditionalModel>(WhereType, new ConditionalModel()
{
ConditionalType = ConditionalType.Equal,
FieldName = this.QueryBuilder.Builder.GetTranslationColumnName(column.DbColumnName),
FieldValue = value.ObjToString()
}));
});
cons.ConditionalList.Add(data);
}
if (cons.HasValue())
{

Loading…
Cancel
Save