Update 人大金仓

This commit is contained in:
sunkaixuan
2025-12-03 17:22:13 +08:00
parent ccb6ddb0d3
commit fdd8c74273
2 changed files with 6 additions and 1 deletions

View File

@@ -196,6 +196,11 @@ namespace SqlSugar
dbType = "nchar(4000)";
}
}
if (IsSqlServerModel()&&it.Value is byte[] bytes)
{
string bytesString = "0x" + BitConverter.ToString(bytes).Replace("-", "");
return bytesString;
}
return string.Format("CAST({0} AS {1})", base.GetDbColumn(it, FormatValue(it.Value)), dbType);
})) + ")");

View File

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