|
@@ -279,7 +279,7 @@ public class ThreeLevelWardAI extends ModelAI {
|
|
|
}
|
|
|
List<Map<String, String>> dateRecordList = new ArrayList<>(dateRecord.values());
|
|
|
//如果最后一条是抢救记录,则之后肯定没有查房记录
|
|
|
- if (dateRecordList.get(dateRecordList.size() - 1).containsKey("抢救时间")) {
|
|
|
+ if (ListUtil.isNotEmpty(dateRecordList) && dateRecordList.get(dateRecordList.size() - 1).containsKey("抢救时间")) {
|
|
|
record = new ArrayList<>();
|
|
|
return record;
|
|
|
}
|