소스 검색

钢坯位置信息

fenze 7 달 전
부모
커밋
315d3a525e

+ 6 - 2
zgztBus/jeecg-module-sbm/src/main/java/org/jeecg/modules/billet/billetPositionInfo/entity/BilletPositionInfo.java

@@ -67,9 +67,11 @@ public class BilletPositionInfo implements Serializable {
     @ApiModelProperty(value = "当前所在区域")
     private Integer currentArea;
     /**更新区域时间*/
+    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
     @Excel(name = "更新区域时间", width = 15)
     @ApiModelProperty(value = "更新区域时间")
-    private String updateAreaTime;
+    private Date updateAreaTime;
     /**车牌号*/
 //	@Excel(name = "车牌号", width = 15)
 //    @ApiModelProperty(value = "车牌号")
@@ -87,9 +89,11 @@ public class BilletPositionInfo implements Serializable {
     @ApiModelProperty(value = "坐标z")
     private Integer z;
     /**更新坐标时间*/
+    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
     @Excel(name = "更新坐标时间", width = 15)
     @ApiModelProperty(value = "更新坐标时间")
-    private String updateCoordTime;
+    private Date updateCoordTime;
 
     /**铸机号*/
     @Excel(name = "铸机号", width = 15)