mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-30 22:10:22 +08:00
Update exp to sql
This commit is contained in:
parent
05948a5dae
commit
3f80b543c6
@ -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