修复支付宝订单找不到回调

This commit is contained in:
wuchunlei
2025-02-05 10:41:10 +08:00
parent bda0ae6b2b
commit bc457ac78c

View File

@@ -159,14 +159,14 @@ public class AliPayServiceImpl implements AliPayService {
payZfbOrderService.updateById(oldPayZfbOrderEntity);
String subject = oldPayZfbOrderEntity.getSubject();
// 会员开通
String body = oldPayZfbOrderEntity.getBody();
String customerid = oldPayZfbOrderEntity.getCustomerid();
BuyOrder order = buyOrderService.getBaseMapper().selectOne(new QueryWrapper<BuyOrder>()
.eq("order_sn", oldPayZfbOrderEntity.getRelevanceoid()));
String subject = order.getOrderType();
//使用优惠券
if (order.getCouponId()!=null&&order.getCouponId()!=0){
CouponHistory couponHistory = couponHistoryService.getById(order.getCouponId());