Files
his/openhis-server-new/openhis-application
zhaoyun 813617a837 fix: Bug #609 - 出院申请 Index:0 IndexOutOfBoundsException
Root Cause: SpecialAdviceAppServiceImpl.saveLeaveHospitalOrders()
在第 436 行调用 .getRecords().get(0) 时,如果 getAdviceBaseInfo
返回空列表,会抛出 IndexOutOfBoundsException。

Fix:
1. 用 CollectionUtils.isEmpty() 判空,空时返回友好错误提示
2. 修复 endTime = endTime 的无操作逻辑,改为默认当前时间
2026-05-28 09:55:26 +08:00
..
2026-05-27 08:59:07 +08:00