bug524 [门诊/医生个人报卡管理] 传染病报告卡保存后数据回显失败:病例分类、日期及分型字段为空

This commit is contained in:
2026-05-15 18:16:12 +08:00
parent d984b89967
commit 51ae3aad29
3 changed files with 16 additions and 5 deletions

View File

@@ -83,6 +83,9 @@ public class InfectiousCardDto {
/** 病例分类 */
private String diseaseType;
/** 病例分类 */
private Integer caseClass;
/** 发病日期 */
private LocalDate onsetDate;

View File

@@ -112,12 +112,15 @@ public class InfectiousDiseaseReportDto {
private Integer caseClass;
/** 发病日期(默认诊断时间,病原携带者填初检日期) */
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate onsetDate;
/** 诊断日期(精确到小时) */
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
private LocalDateTime diagDate;
/** 死亡日期(死亡病例必填) */
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate deathDate;
/** 订正病名(订正报告必填) */
@@ -136,6 +139,7 @@ public class InfectiousDiseaseReportDto {
private String reportDoc;
/** 填卡日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate reportDate;
/** 报卡名称代码 1-中华人民共和国传染病报告卡 */
@@ -160,4 +164,4 @@ public class InfectiousDiseaseReportDto {
/** 医生ID */
@JsonSerialize(using = ToStringSerializer.class)
private Long doctorId;
}
}