|
@@ -264,7 +264,7 @@ public class FsPlatformProductScrmServiceImpl implements IFsPlatformProductScrmS
|
|
|
return R.error("复制,商品数据不存在!");
|
|
return R.error("复制,商品数据不存在!");
|
|
|
}
|
|
}
|
|
|
//存在,这个商品是否已经在我店铺存在了
|
|
//存在,这个商品是否已经在我店铺存在了
|
|
|
- boolean existFlag = fsStoreProductMapper.productNameExist(copyProductInfo.getProductName(), fsStoreProduct.getStoreId());
|
|
|
|
|
|
|
+ boolean existFlag = fsStoreProductMapper.productNameExist(copyProductInfo.getProductName(), copyProductInfo.getCommonName(),fsStoreProduct.getStoreId());
|
|
|
if(existFlag){
|
|
if(existFlag){
|
|
|
return R.error("这个商品你店铺已经有了,无需重复添加!");
|
|
return R.error("这个商品你店铺已经有了,无需重复添加!");
|
|
|
}
|
|
}
|