mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-07 23:24:34 +08:00
Update InnerJoinIF
This commit is contained in:
@@ -234,8 +234,15 @@ namespace SqlSugar
|
||||
if (isJoin == false)
|
||||
{
|
||||
result.QueryBuilder.JoinQueryInfos.Remove(result.QueryBuilder.JoinQueryInfos.Last());
|
||||
if (oldAsName?.Any() == false && result.QueryBuilder.AsTables?.Any() == true)
|
||||
{
|
||||
//no things
|
||||
}
|
||||
else
|
||||
{
|
||||
result.QueryBuilder.AsTables = oldAsName;
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
public ISugarQueryable<T, T2> LeftJoin<T2>(Expression<Func<T, T2, bool>> joinExpression)
|
||||
|
Reference in New Issue
Block a user