Commit e1fe8808 by 吕明尚

修改优惠券门店更改

parent e555606f
......@@ -931,7 +931,6 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
consumerCoupon.setId(request.getCouponId());
consumerCoupon.setUseDate(new Date());
consumerCoupon.setUseStatus(UserStatusEnum.USED.getCode());
consumerCoupon.setStoreId(request.getStoreId());
consumerCouponService.updateById(consumerCoupon);
}
wechatNewService.sendMiniSubscribeMessage(sOrder, MessageReminderEnum.RESERVER);
......@@ -1403,7 +1402,6 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
if (consumerCoupon.getUseStatus().equals(UserStatusEnum.UNUSED.getCode())) {
consumerCoupon.setUseDate(new Date());
consumerCoupon.setUseStatus(UserStatusEnum.USED.getCode());
consumerCoupon.setStoreId(sOrder.getStoreId());
consumerCouponService.updateById(consumerCoupon);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment