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

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

order 改回来 可以上线

parent f6752925
...@@ -514,14 +514,13 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ ...@@ -514,14 +514,13 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ
orderTicketRelations.setTransferId(""); orderTicketRelations.setTransferId("");
orderTicketRelations.setLiveId(""); orderTicketRelations.setLiveId("");
KylinAgentVo agentVo = orderUtils.checkAgent(payOrderParam.getAgentId(), performanceData.getPerformancesId(), ticketData); KylinAgentVo agentVo = orderUtils.checkAgent(payOrderParam.getAgentId(), performanceData.getPerformancesId(), ticketData);
orderTicketRelations.setAgentId(payOrderParam.getAgentId());
if (agentVo == null) { if (agentVo == null) {
orderTicketRelations.setAgentId("0");
orderTicketRelations.setAgentDistributions(BigDecimal.ZERO); orderTicketRelations.setAgentDistributions(BigDecimal.ZERO);
orderTicketRelations.setAgentStatus(0); orderTicketRelations.setAgentStatus(0);
orderTicketRelations.setAgentIdMaster("0"); orderTicketRelations.setAgentIdMaster("0");
orderTicketRelations.setAgentDistributionsMaster(BigDecimal.ZERO); orderTicketRelations.setAgentDistributionsMaster(BigDecimal.ZERO);
} else { } else {
orderTicketRelations.setAgentId(payOrderParam.getAgentId());
orderTicketRelations.setAgentDistributions(agentVo.getCarry()); orderTicketRelations.setAgentDistributions(agentVo.getCarry());
orderTicketRelations.setAgentStatus(agentVo.getIsBlack() == 1 ? 2 : 1); orderTicketRelations.setAgentStatus(agentVo.getIsBlack() == 1 ? 2 : 1);
orderTicketRelations.setAgentIdMaster(agentVo.getAgentMasterId()); orderTicketRelations.setAgentIdMaster(agentVo.getAgentMasterId());
......
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