mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Synchronous code
This commit is contained in:
@@ -149,6 +149,10 @@ namespace SqlSugar
|
|||||||
else if (type == UtilConstants.ByteArrayType)
|
else if (type == UtilConstants.ByteArrayType)
|
||||||
{
|
{
|
||||||
string bytesString = "0x" + BitConverter.ToString((byte[])value).Replace("-", "");
|
string bytesString = "0x" + BitConverter.ToString((byte[])value).Replace("-", "");
|
||||||
|
if (bytesString == "0x")
|
||||||
|
{
|
||||||
|
bytesString = "''";
|
||||||
|
}
|
||||||
return bytesString;
|
return bytesString;
|
||||||
}
|
}
|
||||||
else if (type.IsEnum())
|
else if (type.IsEnum())
|
||||||
|
Reference in New Issue
Block a user