diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java index 6eba37b9d..a5d4c9856 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java @@ -726,6 +726,7 @@ public class WxOrderServiceImpl implements WxOrderService { if (coupon.getPasswordSupport().equals(EnumCouponPasswordSupport.SUPPORTED.getCode())) { WxCouponPassword updateCPwd = new WxCouponPassword(); updateCPwd.setId(couponPasswordId); + updateCPwd.setCardId(cardInfo.getId()); updateCPwd.setStatus(EnumCouponPasswordStatus.USED.getCode()); couponPasswordMapper.updateByPrimaryKeySelective(updateCPwd); }