格式化时间
This commit is contained in:
parent
5cfd88e247
commit
a13baceee1
|
|
@ -4,6 +4,7 @@ package com.bonus.imgTool.imageUpload.dto;
|
|||
import com.bonus.imgTool.system.vo.SysFileResourceVo;
|
||||
import com.bonus.imgTool.utils.Excel;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
|
@ -80,6 +81,7 @@ public class CoordinatePhotoVo {
|
|||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
|
|
@ -95,6 +97,7 @@ public class CoordinatePhotoVo {
|
|||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.bonus.imgTool.imageUpload.dto;
|
|||
import com.bonus.imgTool.system.vo.SysFileResourceVo;
|
||||
import com.bonus.imgTool.utils.Excel;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
|
@ -75,6 +76,7 @@ public class ImportantMatterVo {
|
|||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
|
|
@ -90,6 +92,7 @@ public class ImportantMatterVo {
|
|||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.bonus.imgTool.imageUpload.dto;
|
|||
import com.bonus.imgTool.system.vo.SysFileResourceVo;
|
||||
import com.bonus.imgTool.utils.Excel;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
|
@ -80,6 +81,7 @@ public class SafetyMeasuresVo {
|
|||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
|
|
@ -95,6 +97,7 @@ public class SafetyMeasuresVo {
|
|||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue