diff --git a/Src/Asp.NetCore2/SqlSugar/Abstract/ExecuteNavProvider/DeleteNavManyToMany.cs b/Src/Asp.NetCore2/SqlSugar/Abstract/ExecuteNavProvider/DeleteNavManyToMany.cs index 3c855e64d..0b2438b60 100644 --- a/Src/Asp.NetCore2/SqlSugar/Abstract/ExecuteNavProvider/DeleteNavManyToMany.cs +++ b/Src/Asp.NetCore2/SqlSugar/Abstract/ExecuteNavProvider/DeleteNavManyToMany.cs @@ -60,7 +60,7 @@ namespace SqlSugar { SetContext(() => _Context.Deleteable().AS(mappingEntity.DbTableName) .In(mappingA.DbColumnName, aids) - .In(mappingA.DbColumnName, bids) + .In(mappingB.DbColumnName, bids) .ExecuteCommand()); } else