mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-26 02:39:14 +08:00
Queryable Filter bug
This commit is contained in:
@@ -528,6 +528,13 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
if (item.IsJoinQuery == false||isMain||isSingle|| isEasyJoin)
|
if (item.IsJoinQuery == false||isMain||isSingle|| isEasyJoin)
|
||||||
{
|
{
|
||||||
|
if (item.IsJoinQuery == false&& ChildType.IsInterface)
|
||||||
|
{
|
||||||
|
foreach (var joinInfo in this.JoinQueryInfos)
|
||||||
|
{
|
||||||
|
sql = ReplaceFilterColumnName(sql, joinInfo.EntityType, Builder.GetTranslationColumnName(joinInfo.ShortName));
|
||||||
|
}
|
||||||
|
}
|
||||||
WhereInfos.Add(sql);
|
WhereInfos.Add(sql);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user