判断加载影像是否为PDF文件时路径字段为空切换PDF模式

master
linjj 2 years ago
parent 71212687c1
commit 8012690e0d

@ -261,13 +261,13 @@ public class CommomService {
String mapKey = "admin" + "_" + patientId;
CACHE_MAP.put(mapKey, filePaths);
}
}
} else {
List<String> commomTrees = archiveDetailMapper.getPDFRATH(patientId, scanPages);
if (!commomTrees.isEmpty()) {
String mapKey = "admin" + "_" + patientId;
CACHE_MAP.put(mapKey, commomTrees);
} else {
List<String> commomTrees = archiveDetailMapper.getPDFRATH(patientId, scanPages);
if (!commomTrees.isEmpty()) {
String mapKey = "admin" + "_" + patientId;
CACHE_MAP.put(mapKey, commomTrees);
}
}
}
}

Loading…
Cancel
Save