mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 23:13:42 +08:00
Synchronization code
This commit is contained in:
parent
1e4160f695
commit
4ba3ad6f4f
@ -277,11 +277,7 @@ namespace SqlSugar
|
||||
var oldWhere = this.whereSql;
|
||||
var newWhere = this.whereSql.Replace(sqlBuilder.GetTranslationColumnName(it.DbColumnName),
|
||||
lastShortName + "." + sqlBuilder.GetTranslationColumnName(it.DbColumnName));
|
||||
if (oldWhere != newWhere && oldWhere.TrimStart().StartsWith("( (SELECT "))
|
||||
{
|
||||
|
||||
}
|
||||
else if (oldWhere != newWhere && oldWhere.TrimStart().StartsWith("((( (SELECT ")&& !oldWhere.Contains($" {sqlBuilder.GetTranslationColumnName(it.DbColumnName)}"))
|
||||
if (oldWhere != newWhere && !oldWhere.Contains($" {sqlBuilder.GetTranslationColumnName(it.DbColumnName)}"))
|
||||
{
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user