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

Commit 2c90c469 authored by 胡佳晨's avatar 胡佳晨

券不可用

parent e18e20b7
......@@ -181,7 +181,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ
advanceMap = orderUtils.useCoupon(payOrderParam.getAdvanceCode(), "购买 "+performanceData.getTitle(), BigDecimal.ZERO,payOrderParam.getPerformanceId(),payOrderParam.getTimeId(),payOrderParam.getTicketId());
Integer typeVoucher = (Integer) advanceMap.get("type");
if (typeVoucher.equals(-1)) {
throw new Exception("券不可用");
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