解决死亡时间格式不一致问题

This commit is contained in:
2025-10-22 16:56:05 +08:00
parent d58a5e8ab3
commit 1bba9e598a

View File

@@ -68,7 +68,7 @@ public class PatientInformationDto {
/**
* 死亡时间
*/
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
private Date deceasedDate;
/**