Skip to content

Commit 153408e

Browse files
committed
fix: ITSM接口字段适配 #AI commit#
1 parent f72300c commit 153408e

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

  • dss-apps/dss-scriptis-server-webank/src/main/java/com/webank/wedatasphere/dss/scriptis/bean
  • dss-framework/dss-framework-workspace-server/src/main/java/com/webank/wedatasphere/dss/framework/workspace/bean/itsm

dss-apps/dss-scriptis-server-webank/src/main/java/com/webank/wedatasphere/dss/scriptis/bean/ItsmRequest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.webank.wedatasphere.dss.scriptis.bean;
22

3+
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
34
import com.google.gson.Gson;
45
import com.google.gson.JsonArray;
56
import com.google.gson.JsonObject;
@@ -17,6 +18,7 @@
1718
* Author: xlinliu
1819
* Date: 2024/5/22
1920
*/
21+
@JsonIgnoreProperties(ignoreUnknown = true)
2022
public class ItsmRequest {
2123
private static final String dataKey = "dataList";
2224

dss-framework/dss-framework-workspace-server/src/main/java/com/webank/wedatasphere/dss/framework/workspace/bean/itsm/ItsmRequest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.webank.wedatasphere.dss.framework.workspace.bean.itsm;
22

3+
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
34
import com.google.gson.Gson;
45
import com.google.gson.JsonArray;
56
import com.google.gson.JsonObject;
@@ -11,6 +12,7 @@
1112
import java.util.List;
1213
import java.util.Map;
1314

15+
@JsonIgnoreProperties(ignoreUnknown = true)
1416
public class ItsmRequest {
1517

1618
private static final String dataKey = "dataList";

0 commit comments

Comments
 (0)