|
|
@@ -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());
|