fix:修复seata2.4版本下达梦数据库回滚异常问题,增加调试日志
This commit is contained in:
@@ -116,10 +116,7 @@ public class DataCompareUtils {
|
|||||||
Instant i0 = toInstant(v0);
|
Instant i0 = toInstant(v0);
|
||||||
Instant i1 = toInstant(v1);
|
Instant i1 = toInstant(v1);
|
||||||
boolean equals = Objects.equals(i0, i1);
|
boolean equals = Objects.equals(i0, i1);
|
||||||
if (LOGGER.isDebugEnabled()) {
|
LOGGER.info("[zt-seata-dm-patch] DmdbTimestamp 字段比较: field={}, equals={}", f0.getName(), equals);
|
||||||
LOGGER.debug("[zt-seata-dm-patch] DmdbTimestamp 比较: field={}, i0={}, i1={}, equals={}",
|
|
||||||
f0.getName(), i0, i1, equals);
|
|
||||||
}
|
|
||||||
return equals
|
return equals
|
||||||
? Result.ok()
|
? Result.ok()
|
||||||
: Result.buildWithParams(
|
: Result.buildWithParams(
|
||||||
|
|||||||
Reference in New Issue
Block a user