Commit 0fead1e4 by 刘宇峰

行程油耗等

1 parent ba2255e5
package cn.com.glsx.stdinterface.dto; package cn.com.glsx.stdinterface.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data; import lombok.Data;
import java.util.Date; import java.util.Date;
...@@ -16,11 +17,13 @@ public class RouteOilMileageDto { ...@@ -16,11 +17,13 @@ public class RouteOilMileageDto {
/** /**
* 行程开始时间 * 行程开始时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date beginTime; private Date beginTime;
/** /**
* 行程结束时间 * 行程结束时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date endTime; private Date endTime;
/** /**
...@@ -66,16 +69,19 @@ public class RouteOilMileageDto { ...@@ -66,16 +69,19 @@ public class RouteOilMileageDto {
/** /**
* 行程开始时间 * 行程开始时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date time; private Date time;
/** /**
* 创建时间 * 创建时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createdTime; private Date createdTime;
/** /**
* 更新时间 * 更新时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updatedTime; private Date updatedTime;
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!