日期时区问题修改;

This commit is contained in:
王奎兴
2026-05-28 21:20:07 +08:00
parent ed90334752
commit 39503f9f3c
108 changed files with 338 additions and 338 deletions
@@ -110,7 +110,7 @@ public class SysJob extends BaseEntity
this.cronExpression = cronExpression;
}
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
public Date getNextValidTime()
{
if (StringUtils.isNotEmpty(cronExpression))
@@ -38,7 +38,7 @@ public class NoticeMessageLoggingAppPo extends BaseVOEntity
private String noticeMessageContent = "";
/** 接收时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiModelProperty(name = "接收时间")
private Date messageReceivingTime;
@@ -66,7 +66,7 @@ public class NoticeMessageLoggingAppPo extends BaseVOEntity
private String messageReadName = "";
/** 已读时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiModelProperty(name = "已读时间")
private Date messageReadTime;
@@ -118,4 +118,4 @@ public class NoticeMessageLoggingAppPo extends BaseVOEntity
@ApiModelProperty("所属业务id")
private String businessId;
}
}
@@ -41,7 +41,7 @@ public class NoticeMessageLoggingPo extends BaseVOEntity
private String noticeMessageContent;
/** 接收时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiModelProperty(name = "接收时间")
@JsonSerialize(nullsUsing = DateNullToStringSerializer.class)
private Date messageReceivingTime;
@@ -70,7 +70,7 @@ public class NoticeMessageLoggingPo extends BaseVOEntity
private String messageReadName;
/** 已读时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiModelProperty(name = "已读时间")
@JsonSerialize(nullsUsing = DateNullToStringSerializer.class)
private Date messageReadTime;
@@ -125,4 +125,4 @@ public class NoticeMessageLoggingPo extends BaseVOEntity
private Integer jumpPage;
@ApiModelProperty("所属业务id")
private String businessId;
}
}
@@ -43,7 +43,7 @@ public class NoticeMessageLoggingDo extends BaseVOEntity
private String noticeMessageContent;
/** 接收时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiModelProperty(name = "接收时间")
private Date messageReceivingTime;
@@ -68,7 +68,7 @@ public class NoticeMessageLoggingDo extends BaseVOEntity
private Integer messageReadStatus;
/** 已读时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiModelProperty(name = "已读时间")
private Date messageReadTime;
@@ -141,4 +141,4 @@ public class NoticeMessageLoggingDo extends BaseVOEntity
private Integer jumpPage;
@ApiModelProperty("所属业务id")
private String businessId;
}
}
@@ -43,7 +43,7 @@ public class NoticeMessageLoggingDto extends BaseVOEntity
private String noticeMessageContent;
/** 接收时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiModelProperty(name = "接收时间")
private Date messageReceivingTime;
@@ -68,7 +68,7 @@ public class NoticeMessageLoggingDto extends BaseVOEntity
private Integer messageReadStatus;
/** 已读时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiModelProperty(name = "已读时间")
private Date messageReadTime;
@@ -141,4 +141,4 @@ public class NoticeMessageLoggingDto extends BaseVOEntity
private Integer jumpPage;
@ApiModelProperty("所属业务id")
private String businessId;
}
}