Merge pull request #6739 from dataease/pr@dev-v2@fix_id

fix: id序列化
This commit is contained in:
Junjun 2023-11-17 16:06:36 +08:00 committed by GitHub
commit 15b0e45ef1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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