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

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

修改 巡演券

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