Commit 7180c2d5 by zhoulm

fix: 修改商品详情比较逻辑中的字段匹配条件

将商品详情比较逻辑中的匹配字段从upgradeGoodsId改为merchantGoodsCode,以符合业务需求
1 parent 3170f302
......@@ -139,7 +139,7 @@ public class GoodsListingProductDetailService {
new CompareResultHandler<GoodsListingProductDetailDTO>() {
@Override
public boolean equals(GoodsListingProductDetailDTO v,GoodsListingProductDetailDTO item) {
return Objects.equals(v.getUpgradeGoodsId(), item.getUpgradeGoodsId());
return Objects.equals(v.getMerchantGoodsCode(), item.getMerchantGoodsCode());
}
@Override
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!