mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
Update oracle json 2 sql
This commit is contained in:
@@ -38,6 +38,11 @@ namespace SqlSugar
|
||||
{
|
||||
return orderByModel.AsName.Replace(UtilConstants.ReplaceKey, string.Empty);
|
||||
}
|
||||
if (orderByModel.AsName?.Contains("[")==true)
|
||||
{
|
||||
orderByModel.AsName = orderByModel.AsName.Trim('[').Trim(']');
|
||||
return this.SqlTranslationLeft + orderByModel.AsName + this.SqlTranslationRight;
|
||||
}
|
||||
return this.GetTranslationColumnName(orderByModel.AsName);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user