Update EnableTableFilter

This commit is contained in:
sunkaixuan
2024-06-03 18:36:32 +08:00
parent 5c2f797bbf
commit 0e10b7c26c

View File

@@ -59,6 +59,7 @@ namespace SqlSugar
if (ChildType == type|| (ChildType.IsInterface&&type.GetInterfaces().Contains(ChildType)))
{
var entityInfo = db.EntityMaintenance.GetEntityInfo(ChildType);
this.Context.InitMappingInfo(ChildType);
var exp = field.GetValue(item, null) as Expression;
var whereStr = isWhere ? " AND " : " WHERE ";
isWhere = true;