Commit 6e23c8f3 by zhoulm

fix: 补全普通商品组的套餐名称设置逻辑

在UPGRADE_GOODS类型商品组中新增设置套餐名称的逻辑,和GOODS_PACKAGE类型保持一致
1 parent 032bc4b3
...@@ -1014,6 +1014,7 @@ public class GoodsListingApprovalService { ...@@ -1014,6 +1014,7 @@ public class GoodsListingApprovalService {
oldRelation.setGoodsTypeName(relation.getGoodsTypeName()); oldRelation.setGoodsTypeName(relation.getGoodsTypeName());
if (Objects.equals(categoryType, GoodsGroupCategoryTypeEnum.UPGRADE_GOODS.getValue())) { if (Objects.equals(categoryType, GoodsGroupCategoryTypeEnum.UPGRADE_GOODS.getValue())) {
oldRelation.setMerchantGoodsCode(resolveRealMerchantGoodsCode(context, merchantRef, relation)); oldRelation.setMerchantGoodsCode(resolveRealMerchantGoodsCode(context, merchantRef, relation));
oldRelation.setPackageName(relation.getPackageName());
} else if (Objects.equals(categoryType, GoodsGroupCategoryTypeEnum.GOODS_PACKAGE.getValue())) { } else if (Objects.equals(categoryType, GoodsGroupCategoryTypeEnum.GOODS_PACKAGE.getValue())) {
oldRelation.setPackageCode(resolveRealPackageCode(context, relation)); oldRelation.setPackageCode(resolveRealPackageCode(context, relation));
oldRelation.setPackageName(relation.getPackageName()); oldRelation.setPackageName(relation.getPackageName());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!