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

Commit 6b3f3fb3 authored by 胡佳晨's avatar 胡佳晨

status_sell == 0 演出不可购买

parent 353faf02
...@@ -131,6 +131,9 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ ...@@ -131,6 +131,9 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ
if (performanceData == null || ticketTimesData == null || ticketData == null) { if (performanceData == null || ticketTimesData == null || ticketData == null) {
return ResponseDto.failure(ErrorMapping.get("20004"));//参数错误 return ResponseDto.failure(ErrorMapping.get("20004"));//参数错误
} }
if (performanceData.getStatusSell() == 0) {
return ResponseDto.failure(ErrorMapping.get("20010"));//当前不可购买
}
if (payOrderParam.getIsExpress().equals(1) && ticketData.getIsExpress().equals(0)) { if (payOrderParam.getIsExpress().equals(1) && ticketData.getIsExpress().equals(0)) {
return ResponseDto.failure("票种类型错误");//参数错误 return ResponseDto.failure("票种类型错误");//参数错误
...@@ -1012,7 +1015,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ ...@@ -1012,7 +1015,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ
//加分 //加分
orderUtils.doTask(orderTicketData.getUserId(), orderTicketData.getPerformanceTitle(), orderTicketData.getPriceActual()); orderUtils.doTask(orderTicketData.getUserId(), orderTicketData.getPerformanceTitle(), orderTicketData.getPriceActual());
// //
innerService.reportO(orderTicketData,"摩登天空"); innerService.reportO(orderTicketData, "摩登天空");
//大麦回调 //大麦回调
sycDamaiOrder(orderTickets.getOrderTicketsId(), orderTicketData.getIsMember()); sycDamaiOrder(orderTickets.getOrderTicketsId(), orderTicketData.getIsMember());
} }
......
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