Commit 1e448084 by ice

修改商品信息表中的时间转换

parent 9b7ff3d0
Showing with 9 additions and 0 deletions
......@@ -5,6 +5,9 @@ import java.util.HashMap;
import java.util.Map;
import java.util.List;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
/**
*
* @author author
......@@ -202,6 +205,8 @@ public class InvItem implements Serializable {
* isNullAble:1
*/
@JSONField(name = "specification")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
private java.time.LocalDateTime specification;
/**
......@@ -300,6 +305,8 @@ public class InvItem implements Serializable {
* isNullAble:1
*/
@JSONField(name = "create_time")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
private java.time.LocalDateTime createTime;
/**
......@@ -314,6 +321,8 @@ public class InvItem implements Serializable {
* isNullAble:1
*/
@JSONField(name = "update_time")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
private java.time.LocalDateTime updateTime;
/**
......
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 sign in to comment