瀏覽代碼

去除拆分

yjwang 3 周之前
父節點
當前提交
7f15dfd281

+ 4 - 4
fs-service/src/main/java/com/fs/hisStore/service/impl/FsStoreProductScrmServiceImpl.java

@@ -178,7 +178,7 @@ public class FsStoreProductScrmServiceImpl implements IFsStoreProductScrmService
                 continue;
             }
             String processedKey = null;
-            if(vo.getField().equals("productName")){
+      //      if(vo.getField().equals("productName")){
                 if (originalKey != null) {
                     processedKey = originalKey.replace(BRACKET_NUM_EN, "").replace(BRACKET_NUM_CN, "");
                 }
@@ -188,8 +188,8 @@ public class FsStoreProductScrmServiceImpl implements IFsStoreProductScrmService
                     promptWordsMap.put(processedChange, medicine.getForbiddenKeywords());
                 }
 
-            }
-            if(vo.getField().equals("ingredient")){
+   //         }
+  //          if(vo.getField().equals("ingredient")){
                 String processedIngredient = null;
                 if (originalIngredient != null) {
                     processedIngredient = originalIngredient.replace(BRACKET_NUM_EN, "").replace(BRACKET_NUM_CN, "");
@@ -200,7 +200,7 @@ public class FsStoreProductScrmServiceImpl implements IFsStoreProductScrmService
                     promptWordsMap.put(medicineIngredientChange, medicine.getMedicineIngredient());
                 }
             }
-        }
+   //     }
         String keyWords = vo.getKeywords();
         DrugComponentAnalyzer.CheckResult checkResult = DrugComponentAnalyzer.checkForbiddenComponents(forbiddenKeywords, keyWords);
         boolean forbidden = checkResult.isForbidden();