Synchronization code

This commit is contained in:
sunkaixuan
2023-08-12 16:54:55 +08:00
parent 8d335bf374
commit 3fd97f4989
2 changed files with 2 additions and 2 deletions

View File

@@ -725,7 +725,7 @@ namespace SqlSugar
whereModels.Add(cons); whereModels.Add(cons);
} }
} }
this.Where(whereModels); this.Where(whereModels,true);
} }
else else
{ {

View File

@@ -419,7 +419,7 @@ namespace SqlSugar
var addItem = this.Context.Queryable<T>().AS(asname) var addItem = this.Context.Queryable<T>().AS(asname)
.Filter(null, this.isDisableFilters) .Filter(null, this.isDisableFilters)
.TranLock(this.lockType) .TranLock(this.lockType)
.Where(conditList).ToList(); .Where(conditList,true).ToList();
this.dbDataList.AddRange(addItem); this.dbDataList.AddRange(addItem);
}); });
} }