Synchronization code

This commit is contained in:
sunkaixuan
2024-01-15 16:21:08 +08:00
parent 6faf9d4879
commit ede3479c71
2 changed files with 2 additions and 2 deletions

View File

@@ -821,7 +821,7 @@ namespace SqlSugar
var maxLength = db.CurrentConnectionConfig.MoreSettings.MaxParameterNameLength;
if (newName.Length > maxLength)
{
newName = name.GetNonNegativeHashCodeString() + "_" + addIndex;
newName =(name.Substring(0,1)+name.GetNonNegativeHashCodeString() + "_" + addIndex);
}
appendSql = ReplaceSqlParameter(appendSql, parameter, newName);
parameter.ParameterName = newName;

View File

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