소스 검색

[券支付][修改]:券支付成功后,不用管券是否下架,都应该更新订单状态及创建coupon_order

release_toaliyun_real
Stormeye Wu 6 년 전
부모
커밋
303982f716
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. +0
    -4
      mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java

+ 0
- 4
mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java 파일 보기

@@ -817,10 +817,6 @@ public class WxOrderServiceImpl implements WxOrderService {
logger.error("券不存在, couponId: " + updateOrder.getProductId());
throw new MallinkException(ErrorCode.COUPON_IS_EMPTY);
}
if (coupon.getStatus() == EnumCouponStatus.COUPON_STATUS_TAKE_OFFF.getCode()) {
logger.error("券已下架, couponId: " + updateOrder.getProductId());
throw new MallinkException(ErrorCode.COUPON_IS_TAKE_OFF);
}
// 检查用户
WxCUser user = wxCUserMapper.selectByPrimaryKey(updateOrder.getCUserId());
if (user == null) {


불러오는 중...
취소
저장