Prechádzať zdrojové kódy

慢病复诊返回值删除conceptId

louhr 5 rokov pred
rodič
commit
258254798e

+ 2 - 2
nlp-web/src/main/java/org/diagbot/nlp/controller/FeatureController.java

@@ -84,7 +84,7 @@ public class FeatureController extends BaseController<Feature, FeatureWrapper, L
             for (int i = 0; i < properties.length; i++) {
                 if (NlpUtil.isFeature(properties[i], new NegativeEnum[]{NegativeEnum.SYMPTOM})) {
                     Map<String, String> map = new HashMap<>();
-                    map.put("conceptId", conceptIds[i]);
+//                    map.put("conceptId", conceptIds[i]);
                     map.put("name", lexeme.getText());
                     map.put("libType", NegativeEnum.SYMPTOM.toString());
                     map.put("chronicLabel", "0");
@@ -93,7 +93,7 @@ public class FeatureController extends BaseController<Feature, FeatureWrapper, L
                 if (NlpUtil.isFeature(properties[i], new NegativeEnum[]{NegativeEnum.DISEASE})) {
                     if ("慢病".equals(classifies.get(lexeme.getText()))) {
                         Map<String, String> map = new HashMap<>();
-                        map.put("conceptId", conceptIds[i]);
+//                        map.put("conceptId", conceptIds[i]);
                         map.put("name", lexeme.getText());
                         map.put("libType", NegativeEnum.DISEASE.toString());
                         map.put("chronicLabel", "0");