Update exp to sql

This commit is contained in:
sunkaixuan
2025-02-12 12:43:55 +08:00
parent d2c529ec8b
commit 4b528aaf82
2 changed files with 5 additions and 1 deletions

View File

@@ -795,6 +795,10 @@ namespace SqlSugar
fieldName = fieldName.Replace(UtilConstants.Space, guid);
}
fieldName = Context.GetTranslationColumnName(fieldName);
if (this.Context?.SugarContext?.Context?.CurrentConnectionConfig?.MoreSettings?.IsCorrectErrorSqlParameterName == true&& fieldName?.Contains(ExpressionConst.LeftParenthesis)==true)
{
fieldName = Context.GetTranslationText(fieldName);
}
if (isSpace)
{
fieldName = fieldName.Replace(guid, UtilConstants.Space);

View File

@@ -2,7 +2,7 @@
<package >
<metadata>
<id>SqlSugarCore</id>
<version>5.1.4.176-preview17</version>
<version>5.1.4.176-preview18</version>
<authors>sunkaixuan</authors>
<owners>果糖大数据科技</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>