mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-26 21:38:32 +08:00
Optimization
This commit is contained in:
@@ -330,12 +330,13 @@ namespace SqlSugar
|
|||||||
WhereType = WhereType.Or;
|
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,
|
ConditionalType = ConditionalType.Equal,
|
||||||
FieldName = this.QueryBuilder.Builder.GetTranslationColumnName(column.DbColumnName),
|
FieldName = this.QueryBuilder.Builder.GetTranslationColumnName(column.DbColumnName),
|
||||||
FieldValue = value.ObjToString()
|
FieldValue = value.ObjToString()
|
||||||
}));
|
});
|
||||||
|
cons.ConditionalList.Add(data);
|
||||||
}
|
}
|
||||||
if (cons.HasValue())
|
if (cons.HasValue())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user