This commit is contained in:
parent
91b99ef557
commit
c5e78f8521
|
|
@ -425,12 +425,13 @@ public class ProductInfoServiceImpl implements ProductInfoService {
|
|||
if(FuncUtil.isEmpty(productType)){
|
||||
return "第"+(i+1)+"行品类(尺码唛,价钱卡,纸盒,主唛,挂卡,洗水唛) 不能为空:"+brandName;
|
||||
}
|
||||
Long productTypeId = toProductTypeId(excelVO.getProductType());
|
||||
Long typeId = toProductTypeId(excelVO.getProductType().trim());
|
||||
|
||||
if(FuncUtil.isEmpty(productTypeId)){
|
||||
return "第"+(i+1)+"行品类(尺码唛,价钱卡,纸盒,主唛,挂卡,洗水唛) 请维护该分类的的资料:"+brandName;
|
||||
if(FuncUtil.isEmpty(typeId)){
|
||||
ProductTypeIdCache.clear();
|
||||
return "第"+(i+1)+"行品类(尺码唛,价钱卡,纸盒,主唛,挂卡,洗水唛) 请维护该分类的的资料:"+excelVO.getProductType();
|
||||
}
|
||||
productInfo.setProductTypeId(productTypeId);
|
||||
productInfo.setProductTypeId(typeId);
|
||||
|
||||
productInfo.setCode(code);
|
||||
productInfo.setTemplateType("2");
|
||||
|
|
|
|||
Loading…
Reference in New Issue