Code optimization

This commit is contained in:
sunkaixuan
2022-04-10 01:49:38 +08:00
parent 8c5e6da11f
commit 3f50c334e9

View File

@@ -2367,7 +2367,8 @@ namespace SqlSugar
{
FieldName=this.SqlBuilder.GetTranslationColumnName(whereCol.DbColumnName),
ConditionalType= ConditionalType.In,
FieldValue=string.Join(",",inValues.Distinct())
FieldValue=string.Join(",",inValues.Distinct()),
CSharpTypeName=whereCol.PropertyInfo.PropertyType.Name
}
};
var list = this.Context.Queryable<TObject>().Where(wheres).ToList();