事故事件上报修改
正在显示
1 个修改的文件
包含
2 行增加
和
8 行删除
1 | package com.skua.modules.emergency.dto; | 1 | package com.skua.modules.emergency.dto; |
2 | 2 | ||
3 | import com.fasterxml.jackson.annotation.JsonFormat; | ||
4 | import com.skua.core.aspect.annotation.Dict; | ||
5 | import io.swagger.annotations.ApiModelProperty; | 3 | import io.swagger.annotations.ApiModelProperty; |
6 | import lombok.Data; | 4 | import lombok.Data; |
7 | import lombok.EqualsAndHashCode; | 5 | import lombok.EqualsAndHashCode; |
8 | import org.jeecgframework.poi.excel.annotation.Excel; | 6 | import org.jeecgframework.poi.excel.annotation.Excel; |
9 | import org.springframework.format.annotation.DateTimeFormat; | ||
10 | |||
11 | import javax.validation.constraints.NotBlank; | 7 | import javax.validation.constraints.NotBlank; |
12 | import java.util.Date; | ||
13 | 8 | ||
14 | /** | 9 | /** |
15 | * 应急风险事件 | 10 | * 应急风险事件 |
... | @@ -52,9 +47,8 @@ public class EmergencyRiskEventAddDTO { | ... | @@ -52,9 +47,8 @@ public class EmergencyRiskEventAddDTO { |
52 | private String reportUser; | 47 | private String reportUser; |
53 | /**上报时间*/ | 48 | /**上报时间*/ |
54 | @ApiModelProperty(value = "上报时间") | 49 | @ApiModelProperty(value = "上报时间") |
55 | @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") | 50 | @Excel(name = "上报时间", width = 15) |
56 | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") | 51 | private String reportDate; |
57 | private Date reportDate; | ||
58 | /**所属厂站*/ | 52 | /**所属厂站*/ |
59 | @Excel(name = "所属厂站", width = 15) | 53 | @Excel(name = "所属厂站", width = 15) |
60 | @ApiModelProperty(value = "所属厂站") | 54 | @ApiModelProperty(value = "所属厂站") | ... | ... |
-
请 注册 或 登录 后发表评论