mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Synchronization code
This commit is contained in:
parent
5e667d9f43
commit
15d10dba2a
@ -43,7 +43,11 @@ namespace SqlSugar
|
||||
orderByModel.AsName = orderByModel.AsName.Trim('[').Trim(']');
|
||||
return this.SqlTranslationLeft + orderByModel.AsName + this.SqlTranslationRight;
|
||||
}
|
||||
return this.GetTranslationColumnName(orderByModel.AsName);
|
||||
if (this.SqlTranslationLeft != null && orderByModel.AsName?.Contains(this.SqlTranslationLeft) == true)
|
||||
{
|
||||
return orderByModel.AsName;
|
||||
}
|
||||
return this.SqlTranslationLeft + orderByModel.AsName + this.SqlTranslationRight;
|
||||
}
|
||||
|
||||
private void AppendFiledName(StringBuilder sql, SelectModel orderByModel)
|
||||
|
Loading…
Reference in New Issue
Block a user