修改汇联通distributorId 原参数aNId4A3X修改为orjuOND7

袁野 4 weeks ago
parent 2946b26df6
commit 8b937769bf
  1. 10
      cweb/src/main/java/com/cweb/controller/goods/GoodsController.java
  2. 1
      order/src/main/java/com/order/controller/notify/JdNotify.java

@ -172,13 +172,19 @@ public class GoodsController {
CouponDiscountGoodsRel discountGoodsRel = couponDiscountGoodsRel.stream().filter(s -> s.getSpecsId().equals(specs.getId())).findFirst().orElse(null);
if (discountGoodsRel == null) {
specs.setExt1("0");
} else {
specs.setExt1("1");
}
}
}
// todo 删除没有绑定优惠券的
goodsSpecs = goodsSpecs.stream().filter(s-> !s.getExt1().equals("0")).collect(Collectors.toList());
if (discountId != null) {
// todo 删除没有绑定优惠券的
goodsSpecs = goodsSpecs.stream().filter(s-> !s.getExt1().equals("0")).collect(Collectors.toList());
}
if (goodsSpecs.isEmpty()) {
continue;

@ -50,4 +50,5 @@ public class JdNotify {
log.error("WechatPayController --> wechatNotify() error!", e);
}
}
}

Loading…
Cancel
Save