Commit 1c197c15 authored by zhoushiguang's avatar zhoushiguang

保留2位小数

parent 08148ab4
...@@ -128,6 +128,7 @@ public class CrossDataRealtimePO { ...@@ -128,6 +128,7 @@ public class CrossDataRealtimePO {
* 停车次数(次) * 停车次数(次)
*/ */
@ApiModelProperty(value = "停车次数(次)", notes = "") @ApiModelProperty(value = "停车次数(次)", notes = "")
@JsonSerialize(using = DoubleToTwoDecimalPlacesSerializer.class)
private Double stopTimes; private Double stopTimes;
/** /**
* 延误时间(秒) * 延误时间(秒)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment