记得上下班打卡 | git大法好,push需谨慎

Commit a6aac027 authored by 胡佳晨's avatar 胡佳晨

Merge branch 'hjc_road_coupon' into dev_rc_xuper_op

parents b2ae39fe faacbb1c
......@@ -254,12 +254,13 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ
}
Integer typeVoucher = (Integer) advanceMap.get("type");
String couponId = (String) advanceMap.get("couponId");
if (typeVoucher.equals(-1) || orderUtils.judgeRoadShowCanUse(couponId, performanceData.getRoadShowId())) {
if (typeVoucher.equals(-1)) {
return ResponseDto.failure("优先券不可用");
}
// if (typeVoucher.equals(-1)) {
// return ResponseDto.failure("优先券不可用");
// }
if (!orderUtils.judgeRoadShowCanUse(couponId, performanceData.getRoadShowId())) {
orderUtils.backAdvanceCoupon(payOrderParam.getAdvanceCode(), uid);
return ResponseDto.failure("优先券该演出不可用");
}
}
}
}
......
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