|
@@ -54,25 +54,28 @@ public class FIRP0192 extends QCCatalogue {
|
|
|
oName = oName.replaceAll("[\\p{Punct}\\pP]", "").replaceAll("\\s*", "");
|
|
|
if (operationNm.contains(oName)) {
|
|
|
return;
|
|
|
- }
|
|
|
- String[] operationNames = operationName.split("\\+");
|
|
|
- JSONArray jsonArray = modelAI.loadChiefPresentSimilarAI(oName, Arrays.asList(operationNames), false
|
|
|
- , "operation", chiefPresentSimilarityServiceClient);
|
|
|
- if (jsonArray.size() == 2) {
|
|
|
- /* 相似度最高手术 */
|
|
|
- String operation = jsonArray.getString(0);
|
|
|
- /* 相似度分数 */
|
|
|
- double likeRate = jsonArray.getDoubleValue(1);
|
|
|
- if (likeRate < 0.85) {
|
|
|
- status.set("-1");
|
|
|
- return;
|
|
|
- } else {
|
|
|
- return;
|
|
|
- }
|
|
|
} else {
|
|
|
status.set("-1");
|
|
|
return;
|
|
|
}
|
|
|
+// String[] operationNames = operationName.split("\\+");
|
|
|
+// JSONArray jsonArray = modelAI.loadChiefPresentSimilarAI(oName, Arrays.asList(operationNames), false
|
|
|
+// , "operation", chiefPresentSimilarityServiceClient);
|
|
|
+// if (jsonArray.size() == 2) {
|
|
|
+// /* 相似度最高手术 */
|
|
|
+// String operation = jsonArray.getString(0);
|
|
|
+// /* 相似度分数 */
|
|
|
+// double likeRate = jsonArray.getDoubleValue(1);
|
|
|
+// if (likeRate < 0.85) {
|
|
|
+// status.set("-1");
|
|
|
+// return;
|
|
|
+// } else {
|
|
|
+// return;
|
|
|
+// }
|
|
|
+// } else {
|
|
|
+// status.set("-1");
|
|
|
+// return;
|
|
|
+// }
|
|
|
}
|
|
|
}
|
|
|
}
|