!260 fix:blob类型值为null时,同步后被转换为字节数组写入导致同步结果为乱码

* fix:blob类型值为null时,同步后被转换为字节数组写入导致同步结果为乱码
This commit is contained in:
EASON CHEN
2026-04-27 14:35:23 +00:00
committed by inrgihc
parent 4891198282
commit 5729280f53
@@ -70,7 +70,9 @@ public final class ObjectCastUtils {
public static byte[] castToByteArray(final Object in) {
if (in instanceof byte[]) {
if (in == null) {
return null;
} else if (in instanceof byte[]) {
return (byte[]) in;
} else if (in instanceof java.util.Date) {
return in.toString().getBytes();