From 1c9c8fd0c28c8d903b313306e933ac2a1720f954 Mon Sep 17 00:00:00 2001 From: PoffyZhang <99775271@qq.com> Date: Mon, 24 Jul 2023 11:59:22 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=96=B0=E6=8F=90=E4=BA=A4=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ningdatech/pmapi/common/compare/CompareUtils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/common/compare/CompareUtils.java b/pmapi/src/main/java/com/ningdatech/pmapi/common/compare/CompareUtils.java index 190eded..baef813 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/common/compare/CompareUtils.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/common/compare/CompareUtils.java @@ -141,6 +141,7 @@ public class CompareUtils { // 只有两者属性值不一致时, 才显示变化情况 if (!sv.equals(tv)) { JSONObject valueChange = new JSONObject(); + valueChange.put("fieldKey",sn.getFieldKey()); valueChange.put("old",sv); valueChange.put("new",tv); res.put(sn.getFieldName(),valueChange);