swagger在显示数据的时候,当显示的数据过于厂,会导致失真,这个时候,数据后面全是0,所以我们需要在返回的字段上面加一个注释: @JsonFormat(shape= JsonFormat.Shape.STRING)
@JsonFormat(shape= JsonFormat.Shape.STRING)
private Long itemCategoryId;
这样就可以了
swagger在显示数据的时候,当显示的数据过于厂,会导致失真,这个时候,数据后面全是0,所以我们需要在返回的字段上面加一个注释: @JsonFormat(shape= JsonFormat.Shape.STRING)
@JsonFormat(shape= JsonFormat.Shape.STRING)
private Long itemCategoryId;
这样就可以了