Oracle BUG

This commit is contained in:
sunkaixuan
2018-10-08 08:59:05 +08:00
parent 9a58b4271e
commit 39fa278320
2 changed files with 2 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ namespace SqlSugar
} }
else if (type == UtilConstants.ByteArrayType) else if (type == UtilConstants.ByteArrayType)
{ {
string bytesString = "0x" + BitConverter.ToString((byte[])value); string bytesString = "0x" + BitConverter.ToString((byte[])value).Replace("-", "");
return bytesString; return bytesString;
} }
else if (type == UtilConstants.BoolType) else if (type == UtilConstants.BoolType)

View File

@@ -60,7 +60,7 @@ namespace SqlSugar
} }
else if (type == UtilConstants.ByteArrayType) else if (type == UtilConstants.ByteArrayType)
{ {
string bytesString = "0x" + BitConverter.ToString((byte[])value); string bytesString = "0x" + BitConverter.ToString((byte[])value).Replace("-", "");
return bytesString; return bytesString;
} }
else if (type == UtilConstants.BoolType) else if (type == UtilConstants.BoolType)