Fix Bug #434: 门诊手术安排:编辑弹窗中"切口类型"字段未正确回显数据

根因:OpSchedule实体缺失incisionLevel字段,导致BeanUtils.copyProperties无法复制该字段到实体,保存时数据丢失。
修复:在OpSchedule实体中添加incisionLevel字段,移除OpScheduleDto中的重复定义(改为继承)。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
赵云
2026-05-16 17:28:13 +08:00
parent 6c274ad2b9
commit d04400587e
2 changed files with 3 additions and 5 deletions

View File

@@ -95,11 +95,6 @@ public class OpScheduleDto extends OpSchedule {
*/
private String surgeryType;
/**
* 切口类型
*/
private Integer incisionLevel;
/**
* 申请科室
*/

View File

@@ -78,6 +78,9 @@ public class OpSchedule extends HisBaseEntity {
/** 手术部位 */
private String surgerySite;
/** 切口类型 */
private Integer incisionLevel;
/** 入院时间 */
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
private LocalDateTime admissionTime;