Browse Source

重新提交版本号问题

master
PoffyZhang 1 year ago
parent
commit
1c9c8fd0c2
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/common/compare/CompareUtils.java

+ 1
- 0
pmapi/src/main/java/com/ningdatech/pmapi/common/compare/CompareUtils.java View File

@@ -141,6 +141,7 @@ public class CompareUtils<T> {
// 只有两者属性值不一致时, 才显示变化情况 // 只有两者属性值不一致时, 才显示变化情况
if (!sv.equals(tv)) { if (!sv.equals(tv)) {
JSONObject valueChange = new JSONObject(); JSONObject valueChange = new JSONObject();
valueChange.put("fieldKey",sn.getFieldKey());
valueChange.put("old",sv); valueChange.put("old",sv);
valueChange.put("new",tv); valueChange.put("new",tv);
res.put(sn.getFieldName(),valueChange); res.put(sn.getFieldName(),valueChange);


Loading…
Cancel
Save