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

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

注释 代码

parent 69de7d89
...@@ -229,11 +229,11 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ ...@@ -229,11 +229,11 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ
if (payOrderParam.getNumber() > ticketData.getCounts()) { if (payOrderParam.getNumber() > ticketData.getCounts()) {
return ResponseDto.failure("优先购时段内,本场演出限购" + ticketData.getCounts() + "张"); return ResponseDto.failure("优先购时段内,本场演出限购" + ticketData.getCounts() + "张");
} }
int advanceCount = dataUtils.incrUseMemberCount(uid, performanceData.getPerformancesId()); // int advanceCount = dataUtils.incrUseMemberCount(uid, performanceData.getPerformancesId());
if (advanceCount > 1) {//todo // if (advanceCount > 1) {//todo
dataUtils.decrUseMemberCount(uid, performanceData.getPerformancesId()); // dataUtils.decrUseMemberCount(uid, performanceData.getPerformancesId());
return ResponseDto.failure("本场演出限用1张优先券,已超出"); // return ResponseDto.failure("本场演出限用1张优先券,已超出");
} // }
} }
if (ticketData.getIsExclusive() == 1) { if (ticketData.getIsExclusive() == 1) {
memberType = 2; memberType = 2;
......
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