mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
v3.2.692-preview20230314 - 修复 Oracle Merge Into byte[] 参数化判断 bug;#1459
This commit is contained in:
@ -122,7 +122,7 @@ namespace FreeSql.Custom.Oracle
|
||||
var valueBytes = value as byte[];
|
||||
if (valueBytes != null)
|
||||
{
|
||||
if (valueBytes.Length < 4000) return $"hextoraw('{CommonUtils.BytesSqlRaw(valueBytes)}')";
|
||||
if (valueBytes.Length < 2000) return $"hextoraw('{CommonUtils.BytesSqlRaw(valueBytes)}')";
|
||||
var pam = AppendParamter(specialParams, $"p_{specialParams?.Count}{specialParamFlag}", col, type, value);
|
||||
return pam.ParameterName;
|
||||
}
|
||||
|
Reference in New Issue
Block a user