|
|
@@ -169,6 +169,7 @@ public class FsStoreProductScrmServiceImpl implements IFsStoreProductScrmService
|
|
|
if (originalKey == null && originalIngredient == null) {
|
|
|
continue;
|
|
|
}
|
|
|
+ //TODO 成分不进入这个检查
|
|
|
String processedKey = null;
|
|
|
if (originalKey != null) {
|
|
|
processedKey = originalKey.replace(BRACKET_NUM_EN, "").replace(BRACKET_NUM_CN, "");
|
|
|
@@ -179,6 +180,7 @@ public class FsStoreProductScrmServiceImpl implements IFsStoreProductScrmService
|
|
|
promptWordsMap.put(processedChange, medicine.getForbiddenKeywords());
|
|
|
}
|
|
|
String processedIngredient = null;
|
|
|
+ //TODO 如果是名称就需要跳过
|
|
|
if (originalIngredient != null) {
|
|
|
processedIngredient = originalIngredient.replace(BRACKET_NUM_EN, "").replace(BRACKET_NUM_CN, "");
|
|
|
}
|
|
|
@@ -1503,6 +1505,7 @@ public class FsStoreProductScrmServiceImpl implements IFsStoreProductScrmService
|
|
|
//拿到分类名称,直接调用之前店铺编辑和新增接口中调用识别存到识别表的结果。
|
|
|
//这里需要区别一下,什么情况下需要识别营业执照,什么情况下识别经营许可证,什么情况下两个都需要,甚至包含食品的证
|
|
|
//新增分类校验就去 categoryVal 包下面去新加
|
|
|
+ log.info("当前分类:{}",cateName);
|
|
|
try{
|
|
|
AbstractHandler invokeStrategy = ProductCategoryCheckFactory.getInvokeStrategy(String.valueOf(cateId));
|
|
|
return invokeStrategy.check(cateName, storeId, medicalDeviceCode, productType);
|