forked from github/dataease
fix: id序列化
This commit is contained in:
parent
a3af0caa47
commit
bbc95c6d8c
@ -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;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
@ -9,6 +11,7 @@ import java.io.Serializable;
|
|||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class ChartCustomFilterItemDTO implements Serializable {
|
public class ChartCustomFilterItemDTO implements Serializable {
|
||||||
|
@JsonSerialize(using = ToStringSerializer.class)
|
||||||
private Long fieldId;
|
private Long fieldId;
|
||||||
private String term;
|
private String term;
|
||||||
private String value;
|
private String value;
|
||||||
|
@ -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,5 +9,6 @@ import lombok.Data;
|
|||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class ChartQuotaDTO {
|
public class ChartQuotaDTO {
|
||||||
|
@JsonSerialize(using = ToStringSerializer.class)
|
||||||
private Long id;
|
private Long id;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user