气象预警导出功能修改

master
徐杰盟 2024-07-19 15:11:25 +08:00
parent 40ad7d5af0
commit 92042ae068
1 changed files with 4 additions and 4 deletions

View File

@ -25,25 +25,25 @@ public class QXWarning {
@ApiModelProperty(value = "id") @ApiModelProperty(value = "id")
private Integer id; private Integer id;
@Excel(name = "预警信息生成时间") @Excel(name = "预警信息生成时间",exportFormat = "yyyy-MM-dd HH:mm:ss")
@TableField("CREATE_TIME") @TableField("CREATE_TIME")
@ApiModelProperty(value = "预警信息生成时间") @ApiModelProperty(value = "预警信息生成时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createTime; private Date createTime;
@Excel(name = "预警信息发布时间") @Excel(name = "预警信息发布时间",exportFormat = "yyyy-MM-dd HH:mm:ss")
@TableField("PUBLISH_TIME") @TableField("PUBLISH_TIME")
@ApiModelProperty(value = "预警信息发布时间") @ApiModelProperty(value = "预警信息发布时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date publishTime; private Date publishTime;
@Excel(name = "预警信息开始时间") @Excel(name = "预警信息开始时间",exportFormat = "yyyy-MM-dd HH:mm:ss")
@TableField("START_TIME") @TableField("START_TIME")
@ApiModelProperty(value = "预警信息开始时间") @ApiModelProperty(value = "预警信息开始时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date startTime; private Date startTime;
@Excel(name = "预警信息结束时间") @Excel(name = "预警信息结束时间",exportFormat = "yyyy-MM-dd HH:mm:ss")
@TableField("END_TIME") @TableField("END_TIME")
@ApiModelProperty(value = "预警信息结束时间") @ApiModelProperty(value = "预警信息结束时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")