Merge pull request #10233 from dataease/pr@dev-v2@fix_filter

fix(图表): 修复过滤器报错
This commit is contained in:
Junjun 2024-06-13 09:52:32 +08:00 committed by GitHub
commit d26dd219c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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'