|
@@ -171,7 +171,7 @@ public class MerchantProductService {
|
|
|
}
|
|
|
|
|
|
ProductTypeEnum type = merchantProduct.getType();
|
|
|
- if (type.equals(ProductTypeEnum.PACKAGE)) {
|
|
|
+ if (type.equals(ProductTypeEnum.PACKAGE) && goodsList.size() > 0) {
|
|
|
List<PackageProductVo> productVos = packageService.getPackageProducts(productId);
|
|
|
merchantProduct.setProducts(productVos);
|
|
|
|