Commit 7f375cf7 authored by hanfeng's avatar hanfeng

客户管理日志

parent 22006857
...@@ -2,6 +2,7 @@ package com.github.wxiaoqi.security.admin.dto; ...@@ -2,6 +2,7 @@ package com.github.wxiaoqi.security.admin.dto;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data; import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date; import java.util.Date;
...@@ -17,9 +18,10 @@ public class AppUserLogRemarkDTO { ...@@ -17,9 +18,10 @@ public class AppUserLogRemarkDTO {
private String remark; private String remark;
/** /**
* 创建时间 * 日志时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd")
private Date time; private Date time;
/** /**
......
...@@ -34,10 +34,8 @@ public class AppUserLogRemark { ...@@ -34,10 +34,8 @@ public class AppUserLogRemark {
@Column(name = "level_id") @Column(name = "level_id")
private Integer levelId; private Integer levelId;
/**
* 创建时间
*/
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd")
private Date time; private Date time;
} }
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