关羽
|
013ddfab20
|
Fix Bug #432: 门诊手术安排:新增手术安排保存时报错 - 根因+修复方案
根因:OpCreateScheduleDto缺少@JsonIgnoreProperties注解,Jackson默认
FAIL_ON_UNKNOWN_PROPERTIES=true,前端提交的表单包含DTO中不存在的字段
(identifierNo、patientName、gender、age、birthDay等)导致反序列化失败
修复:在OpCreateScheduleDto类上添加@JsonIgnoreProperties(ignoreUnknown = true)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-16 14:18:41 +08:00 |
|