mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 18:48:09 +08:00
Update exp to sql
This commit is contained in:
@@ -795,6 +795,10 @@ namespace SqlSugar
|
|||||||
fieldName = fieldName.Replace(UtilConstants.Space, guid);
|
fieldName = fieldName.Replace(UtilConstants.Space, guid);
|
||||||
}
|
}
|
||||||
fieldName = Context.GetTranslationColumnName(fieldName);
|
fieldName = Context.GetTranslationColumnName(fieldName);
|
||||||
|
if (this.Context?.SugarContext?.Context?.CurrentConnectionConfig?.MoreSettings?.IsCorrectErrorSqlParameterName == true&& fieldName?.Contains(ExpressionConst.LeftParenthesis)==true)
|
||||||
|
{
|
||||||
|
fieldName = Context.GetTranslationText(fieldName);
|
||||||
|
}
|
||||||
if (isSpace)
|
if (isSpace)
|
||||||
{
|
{
|
||||||
fieldName = fieldName.Replace(guid, UtilConstants.Space);
|
fieldName = fieldName.Replace(guid, UtilConstants.Space);
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
<package >
|
<package >
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>SqlSugarCore</id>
|
<id>SqlSugarCore</id>
|
||||||
<version>5.1.4.176-preview17</version>
|
<version>5.1.4.176-preview18</version>
|
||||||
<authors>sunkaixuan</authors>
|
<authors>sunkaixuan</authors>
|
||||||
<owners>果糖大数据科技</owners>
|
<owners>果糖大数据科技</owners>
|
||||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||||
|
Reference in New Issue
Block a user