Synchronous code

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

View File

@@ -149,6 +149,10 @@ namespace SqlSugar
else if (type == UtilConstants.ByteArrayType)
{
string bytesString = "0x" + BitConverter.ToString((byte[])value).Replace("-", "");
if (bytesString == "0x")
{
bytesString = "''";
}
return bytesString;
}
else if (type.IsEnum())