Synchronous code

This commit is contained in:
sunkaixuan
2025-07-17 19:41:07 +08:00
parent 5633dadd9d
commit c1bcb5ee0f

View File

@@ -54,6 +54,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())