Commit Graph

4 Commits

Author SHA1 Message Date
关羽
cf9f9d7cd0 Fix Bug #491: 【执行科室配置】保存配置时系统报错
添加根因分析报告,确认修复已在历史 commit (eaac1676, 982e9059) 中完成。
所有 NPE 防护已到位:organizationId 前置校验、activityDefinition 判空、
organization 判空降级、stream null 过滤。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 19:07:10 +08:00
关羽
ede95be8f3 Fix Bug #461: 执行科室配置-项目名称回显为ID码,前后端类型不一致导致匹配失败
根因:ActivityDefinition.id 未加 @JsonSerialize,后端序列化为 JS Number(大数精度丢失),
而 OrgLocQueryDto.activityDefinitionId 有 ToStringSerializer 序列化为 String。
前端 === 严格比较 Number !== String,导致 filteredOptions 匹配失败。

修复:
1. ActivityDefinition.id 添加 @JsonSerialize(using = ToStringSerializer.class)
2. 前端 getAllImplementDepartment 中 value 转为 String() 统一类型

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 18:25:20 +08:00
关羽
55f0c91a80 Fix Bug #461: 根因+修复方案摘要 2026-05-16 18:17:00 +08:00
关羽
4c7d362946 Fix Bug #403: 住院医生工作站:应用医嘱组套后,药品明细字段内容丢失未正确引入表格
组套应用时数据预处理缺失部分关键字段(doseUnitCode_dictText/positionName/
injectFlag/skinTestFlag),导致父组件构建行数据时无法获取完整信息。
在orderGroupDrawer的processed item中显式补充这些字段。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 11:57:54 +08:00