|  |  | 
 |  |  | import com.mzl.flower.mapper.payment.*; | 
 |  |  | import com.mzl.flower.mapper.system.UserWechatMapper; | 
 |  |  | import com.mzl.flower.service.BaseService; | 
 |  |  | import com.mzl.flower.service.coupon.CouponRecordService; | 
 |  |  | import com.mzl.flower.service.flower.FlowerService; | 
 |  |  | import com.mzl.flower.service.point.PointGoodsService; | 
 |  |  | import com.mzl.flower.utils.UUIDGenerator; | 
 |  |  | 
 |  |  |  | 
 |  |  |     @Autowired | 
 |  |  |     private PointGoodsService pointGoodsService; | 
 |  |  |  | 
 |  |  |     @Autowired | 
 |  |  |     private CouponRecordService couponRecordService; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 微信预支付 | 
 |  |  | 
 |  |  |         //恢复积分商品兑换券 | 
 |  |  |         revertPointGoodsRecord(order.getId()); | 
 |  |  |  | 
 |  |  |         //TODO 恢复优惠券 | 
 |  |  |         //恢复优惠券 | 
 |  |  |         couponRecordService.cancelCouponUsage(order.getId()); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     private void revertPointGoodsRecord(String orderId){ |