mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-01 10:10:16 +08:00
Optimization
This commit is contained in:
parent
3ecd61efce
commit
dbbc5f779e
@ -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…
Reference in New Issue
Block a user