修复支付宝订单找不到回调
This commit is contained in:
@@ -159,14 +159,14 @@ public class AliPayServiceImpl implements AliPayService {
|
|||||||
|
|
||||||
payZfbOrderService.updateById(oldPayZfbOrderEntity);
|
payZfbOrderService.updateById(oldPayZfbOrderEntity);
|
||||||
|
|
||||||
String subject = oldPayZfbOrderEntity.getSubject();
|
|
||||||
|
|
||||||
// 会员开通
|
// 会员开通
|
||||||
String body = oldPayZfbOrderEntity.getBody();
|
String body = oldPayZfbOrderEntity.getBody();
|
||||||
String customerid = oldPayZfbOrderEntity.getCustomerid();
|
String customerid = oldPayZfbOrderEntity.getCustomerid();
|
||||||
|
|
||||||
BuyOrder order = buyOrderService.getBaseMapper().selectOne(new QueryWrapper<BuyOrder>()
|
BuyOrder order = buyOrderService.getBaseMapper().selectOne(new QueryWrapper<BuyOrder>()
|
||||||
.eq("order_sn", oldPayZfbOrderEntity.getRelevanceoid()));
|
.eq("order_sn", oldPayZfbOrderEntity.getRelevanceoid()));
|
||||||
|
|
||||||
|
String subject = order.getOrderType();
|
||||||
//使用优惠券
|
//使用优惠券
|
||||||
if (order.getCouponId()!=null&&order.getCouponId()!=0){
|
if (order.getCouponId()!=null&&order.getCouponId()!=0){
|
||||||
CouponHistory couponHistory = couponHistoryService.getById(order.getCouponId());
|
CouponHistory couponHistory = couponHistoryService.getById(order.getCouponId());
|
||||||
|
|||||||
Reference in New Issue
Block a user