diff --git a/sdk/api/api-base/src/main/java/io/dataease/api/chart/filter/FilterTreeItem.java b/sdk/api/api-base/src/main/java/io/dataease/api/chart/filter/FilterTreeItem.java index bc04c4cae2..c506b0c92c 100644 --- a/sdk/api/api-base/src/main/java/io/dataease/api/chart/filter/FilterTreeItem.java +++ b/sdk/api/api-base/src/main/java/io/dataease/api/chart/filter/FilterTreeItem.java @@ -1,5 +1,7 @@ package io.dataease.api.chart.filter; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.dataease.dto.dataset.DatasetTableFieldDTO; import lombok.Data; @@ -13,6 +15,7 @@ import java.util.List; public class FilterTreeItem implements Serializable { private String type;// 'item' or 'tree' // item + @JsonSerialize(using = ToStringSerializer.class) private Long fieldId; private DatasetTableFieldDTO field;// field object private String filterType;// 'logic' or 'enum'