Explorar el Código

心跳接口修改

gao.qiang hace 9 meses
padre
commit
c7bbf03be0

+ 7 - 1
business-service/src/main/java/com/ozs/entity/BaseRouteMassage.java

@@ -3,12 +3,14 @@ package com.ozs.entity;
 import com.baomidou.mybatisplus.annotation.IdType;
 import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableId;
+import com.fasterxml.jackson.annotation.JsonFormat;
 import com.ozs.common.annotation.Excel;
 import com.ozs.common.core.domain.BaseEntity;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
 
 import java.io.Serializable;
+import java.util.Date;
 
 /**
  * <p>
@@ -20,7 +22,7 @@ import java.io.Serializable;
  */
 @Data
 @EqualsAndHashCode(callSuper = false)
-public class BaseRouteMassage extends BaseEntity implements Serializable {
+public class BaseRouteMassage  implements Serializable {
 
     private static final long serialVersionUID = 1L;
 
@@ -60,4 +62,8 @@ public class BaseRouteMassage extends BaseEntity implements Serializable {
      */
     @Excel(name = "进路股道")
     private Integer routeStationTrack;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private Date createTime;
 }

+ 1 - 1
business-service/src/main/java/com/ozs/entity/BaseVehicle.java

@@ -53,7 +53,7 @@ public class BaseVehicle implements Serializable {
      * AB端
      */
     @Excel(name = "AB端")
-    private String end;
+    private String ends;
     
     
     /**