diff --git a/bizlog-sdk/src/main/java/com/mzt/logapi/service/impl/DiffParseFunction.java b/bizlog-sdk/src/main/java/com/mzt/logapi/service/impl/DiffParseFunction.java index e348db1..2e87d6f 100644 --- a/bizlog-sdk/src/main/java/com/mzt/logapi/service/impl/DiffParseFunction.java +++ b/bizlog-sdk/src/main/java/com/mzt/logapi/service/impl/DiffParseFunction.java @@ -48,7 +48,7 @@ public String diff(Object source, Object target) { throw new RuntimeException(e); } } - if (!Objects.equals(AopUtils.getTargetClass(source.getClass()), AopUtils.getTargetClass(target.getClass()))) { + if (!Objects.equals(AopUtils.getTargetClass(source), AopUtils.getTargetClass(target))) { log.error("diff的两个对象类型不同, source.class={}, target.class={}", source.getClass().toString(), target.getClass().toString()); return ""; }