Bläddra i källkod

处理自定义标签导入重复的问题

hulh 8 år sedan
förälder
incheckning
926ff983b6

+ 1 - 1
src/main/java/com/uas/platform/b2c/prod/commodity/service/impl/ReleaseProductByBatchServiceImpl.java

@@ -505,7 +505,7 @@ public class ReleaseProductByBatchServiceImpl implements ReleaseProductByBatchSe
 		List<Product> productList = productDao.findMatchStandard(enuu, aProduct.getBrandNameEn(), aProduct.getCode(), IntegerConstant.YES_SHORT);
 		if (!CollectionUtils.isEmpty(productList)) {
 			count = goodsDao.findCountByTagInGoods(enuu, productList.get(0).getPbranden(),
-					productList.get(0).getCmpCode(), aProduct.getTag());
+					productList.get(0).getPcmpcode(), aProduct.getTag());
 		} else {
 			count = goodsDao.findCountByTagInGoods(SystemSession.getUser().getEnterprise().getUu(), aProduct.getBrandNameEn(),
 					aProduct.getCode(), aProduct.getTag());