Fix Bug #497: 【住院医生工作站-检查申请】检查申请列表缺失"申请单状态"列及全流程闭环状态流转逻辑
根因分析: 1. SQL CASE 映射不完整:status_enum=3(COMPLETED) 直接映射为应用状态 4(已接收), 跳过了 2(已校对) 和 3(待接收) 2. status_enum=8 在数据中存在但枚举类中缺失定义 3. 前端已完整实现状态列和交互逻辑,问题在后端返回的状态值不正确 修复内容: - RequestFormManageAppMapper.xml: 重构 SQL CASE 语句 - status_enum=3 + performer_check_id 有值 → 2(已校对),利用护士校对标记区分 - status_enum=3 + performer_check_id 为空 → 4(已接收) - status_enum=4(ON_HOLD) → 3(待接收) - status_enum=5/6/7 → 7(已作废) - status_enum=8 → 6(已出报告) - RequestStatus.java: 补充 COMPLETED_REPORT(8) 枚举值 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -49,6 +49,11 @@ public enum RequestStatus implements HisEnumInterface {
|
||||
*/
|
||||
ENDED(7, "ended", "不执行"),
|
||||
|
||||
/**
|
||||
* 已出报告
|
||||
*/
|
||||
COMPLETED_REPORT(8, "completed_report", "已出报告"),
|
||||
|
||||
/**
|
||||
* 未知
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user