mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update UpdateBuilder
This commit is contained in:
parent
eca28ee970
commit
ad64414a75
@ -189,7 +189,7 @@ namespace SqlSugar
|
||||
{
|
||||
var isFirst = whereString == null;
|
||||
whereString += (isFirst ? null : " AND ");
|
||||
whereString += Regex.Replace(item,"\\"+this.Builder.SqlTranslationLeft,"T."+ this.Builder.SqlTranslationLeft);
|
||||
whereString += Regex.Replace(item,"\\"+this.Builder.SqlTranslationLeft,"S."+ this.Builder.SqlTranslationLeft);
|
||||
}
|
||||
}
|
||||
if (PrimaryKeys.HasValue())
|
||||
|
@ -71,7 +71,7 @@ namespace SqlSugar
|
||||
{
|
||||
var isFirst = whereString == null;
|
||||
whereString += (isFirst ? null : " AND ");
|
||||
whereString += Regex.Replace(item, " \\" + this.Builder.SqlTranslationLeft, "T." + this.Builder.SqlTranslationLeft);
|
||||
whereString += Regex.Replace(item, " \\" + this.Builder.SqlTranslationLeft, "S." + this.Builder.SqlTranslationLeft);
|
||||
}
|
||||
}
|
||||
if (PrimaryKeys.HasValue())
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user