Update queryfilter

This commit is contained in:
sunkaixuan
2023-08-15 15:38:55 +08:00
parent 3f573cfb84
commit 95c47f3871
2 changed files with 8 additions and 2 deletions

View File

@@ -381,6 +381,10 @@ namespace SqlSugar
}
public ISugarQueryable<T> Filter(Type type)
{
if (type == null)
{
return this;
}
this.Context.InitMappingInfo(type);
var whereString= QueryBuilder.GetFilters(type);
if (whereString.HasValue())