Explorar o código

主要手术及操作名称与病程记录不一致提示消息

wangsy %!s(int64=4) %!d(string=hai) anos
pai
achega
f665d54f29

+ 2 - 2
kernel/src/main/java/com/lantone/qc/kernel/catalogue/firstpagerecord/FIRP0192.java

@@ -50,9 +50,9 @@ public class FIRP0192 extends QCCatalogue {
                     operationName = operationDoc.getOperationDiscussionDoc().getStructureMap().get("手术名称");
                 }
                 if (StringUtil.isNotBlank(operationName)) {
-                    operationName = operationName.replaceAll("[\\p{Punct}\\pP]", "").replaceAll("\\s*", "");
+                    String operationNm = operationName.replaceAll("[\\p{Punct}\\pP]", "").replaceAll("\\s*", "");
                     oName = oName.replaceAll("[\\p{Punct}\\pP]", "").replaceAll("\\s*", "");
-                    if (operationName.contains(oName)) {
+                    if (operationNm.contains(oName)) {
                         return;
                     }
                     String[] operationNames = operationName.split("\\+");