Commit 66ccb5a7 authored by daniel's avatar daniel

feat(bag): 时间序列化处理

parent 40eaae0a
...@@ -37,11 +37,11 @@ public class BagDelivery extends JaapRecord<BagDelivery> { ...@@ -37,11 +37,11 @@ public class BagDelivery extends JaapRecord<BagDelivery> {
private String name; private String name;
@ApiModelProperty(value = "创建时间", notes = "创建时间") @ApiModelProperty(value = "创建时间", notes = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ExcelField(title = "创建时间") @ExcelField(title = "创建时间")
private Date createDate; private Date createDate;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiModelProperty(value = "更新时间", notes = "更新时间") @ApiModelProperty(value = "更新时间", notes = "更新时间")
private Date updateDate; private Date updateDate;
......
...@@ -10,6 +10,6 @@ public class BagDropPoints { ...@@ -10,6 +10,6 @@ public class BagDropPoints {
private Integer id; private Integer id;
private Integer cmptId; private Integer cmptId;
private String pointName; private String pointName;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
private String createDate; private String createDate;
} }
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