日期时区问题修改;
This commit is contained in:
@@ -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))
|
||||
|
||||
+3
-3
@@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
+3
-3
@@ -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;
|
||||
}
|
||||
}
|
||||
+3
-3
@@ -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;
|
||||
}
|
||||
}
|
||||
+3
-3
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user