|
@@ -52,7 +52,14 @@ public class MEDI02995 extends QCCatalogue {
|
|
|
if (ListUtil.isNotEmpty(criticallyIllNoticeDocs)) {
|
|
|
for (CriticallyIllNoticeDoc bean : criticallyIllNoticeDocs) {
|
|
|
Map<String, String> structureMap = bean.getStructureMap();
|
|
|
- if (structureMap.containsKey("rec_title") && structureMap.get("rec_title").contains("病危")) {
|
|
|
+ String mapKey = ""; // 数据示例:"rec_title=病危通知"
|
|
|
+ for (Map.Entry<String, String> entity : structureMap.entrySet()) {
|
|
|
+ if (entity.getKey().indexOf("rec_title=") > -1 ){
|
|
|
+ mapKey = entity.getKey();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (StringUtil.isNotBlank(mapKey) && mapKey.contains("病危")) {
|
|
|
status.set("0");
|
|
|
return ;
|
|
|
}
|