fix: id序列化

This commit is contained in:
junjun 2023-11-17 16:05:12 +08:00
parent d198844b7e
commit ba2b063341

View File

@ -1,5 +1,7 @@
package io.dataease.api.chart.dto; package io.dataease.api.chart.dto;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data; import lombok.Data;
/** /**
@ -7,6 +9,7 @@ import lombok.Data;
*/ */
@Data @Data
public class ChartDimensionDTO { public class ChartDimensionDTO {
@JsonSerialize(using = ToStringSerializer.class)
private Long id; private Long id;
private String value; private String value;
} }