Synchronization code

This commit is contained in:
sunkaixuan
2023-09-10 01:00:32 +08:00
parent 1105e25eff
commit 7aec0fb7e3

View File

@@ -156,6 +156,10 @@ namespace SqlSugar
return trakRows; return trakRows;
} }
string sql = _ExecuteCommand(); string sql = _ExecuteCommand();
if (this.UpdateBuilder.AppendWhere.HasValue())
{
sql += " AND " + this.UpdateBuilder.AppendWhere;
}
if (string.IsNullOrEmpty(sql)) if (string.IsNullOrEmpty(sql))
{ {
return 0; return 0;