diff --git a/Src/Asp.NetCore2/SqlSugar/Abstract/UpdateProvider/UpdateableProvider.cs b/Src/Asp.NetCore2/SqlSugar/Abstract/UpdateProvider/UpdateableProvider.cs index de933202e..6c9bb6b44 100644 --- a/Src/Asp.NetCore2/SqlSugar/Abstract/UpdateProvider/UpdateableProvider.cs +++ b/Src/Asp.NetCore2/SqlSugar/Abstract/UpdateProvider/UpdateableProvider.cs @@ -272,6 +272,11 @@ namespace SqlSugar var tableName=$" ({queryable.Clone().ToSqlString()}) ";; return this.InnerJoin(joinExpress, tableName); } + public IUpdateable InnerJoin(ISugarQueryable queryable, Expression> joinExpress) + { + var tableName = $" ({queryable.Clone().ToSqlString()}) "; ; + return this.InnerJoin(joinExpress, tableName); + } public IUpdateable InnerJoin(Expression> joinExpress,string TableName) { UpdateableProvider result = new UpdateableProvider(); diff --git a/Src/Asp.NetCore2/SqlSugar/Interface/IUpdateable.cs b/Src/Asp.NetCore2/SqlSugar/Interface/IUpdateable.cs index b25b7df1e..415227b91 100644 --- a/Src/Asp.NetCore2/SqlSugar/Interface/IUpdateable.cs +++ b/Src/Asp.NetCore2/SqlSugar/Interface/IUpdateable.cs @@ -122,6 +122,7 @@ namespace SqlSugar IUpdateable InnerJoin(Expression> joinExpress); IUpdateable InnerJoin(Expression> joinExpress,string tableName); IUpdateable InnerJoin(ISugarQueryable queryable,Expression> joinExpress); + IUpdateable InnerJoin(ISugarQueryable queryable, Expression> joinExpress); UpdateablePage PageSize(int pageSize); IUpdateable In(object[] ids); ParameterUpdateable UseParameter();