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

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

修改 同步大麦

parent db1d52df
...@@ -225,6 +225,13 @@ public class KylinDamaiServiceImpl extends ServiceImpl<KylinRoadShowsMapper, Kyl ...@@ -225,6 +225,13 @@ public class KylinDamaiServiceImpl extends ServiceImpl<KylinRoadShowsMapper, Kyl
} }
} }
long orderIdKey;
if (item.getOrderTicketsId().length() > 13) {
orderIdKey = Long.valueOf(item.getOrderTicketsId().substring(0, 5).concat(item.getOrderTicketsId().substring(7, 12)));
} else {
orderIdKey = Long.valueOf(item.getOrderTicketsId());
}
if (item.getStatus() == 4) { if (item.getStatus() == 4) {
taobaoTicketUtils.withdrawDamaiOrder(timemId, orderTicketEntitiesKey); taobaoTicketUtils.withdrawDamaiOrder(timemId, orderTicketEntitiesKey);
...@@ -239,7 +246,7 @@ public class KylinDamaiServiceImpl extends ServiceImpl<KylinRoadShowsMapper, Kyl ...@@ -239,7 +246,7 @@ public class KylinDamaiServiceImpl extends ServiceImpl<KylinRoadShowsMapper, Kyl
obj3.setPerformId(timemId);//场次id obj3.setPerformId(timemId);//场次id
obj3.setTicketItemId(ticketsmId); obj3.setTicketItemId(ticketsmId);
obj3.setVoucherId(orderTicketEntitiesKey);//票单号 入场人id obj3.setVoucherId(orderTicketEntitiesKey);//票单号 入场人id
obj3.setOrderId(Long.parseLong(item.getOrderTicketsId()));//订单id orderId obj3.setOrderId(orderIdKey);//订单id orderId
obj3.setMediumType(item.getGetTicketType().equals("express") ? 1L : 2L);//票类型 快递 电子 obj3.setMediumType(item.getGetTicketType().equals("express") ? 1L : 2L);//票类型 快递 电子
obj3.setSupplierSecret(taobaoTicketUtils.getSupplierSecret()); obj3.setSupplierSecret(taobaoTicketUtils.getSupplierSecret());
......
...@@ -937,6 +937,13 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ ...@@ -937,6 +937,13 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ
ticketIdKey = Long.valueOf(item.getTicketId()); ticketIdKey = Long.valueOf(item.getTicketId());
} }
long orderIdKey;
if (orderData.getOrderTicketsId().length() > 13) {
orderIdKey = Long.valueOf(orderData.getOrderTicketsId().substring(0, 5).concat(orderData.getOrderTicketsId().substring(7, 12)));
} else {
orderIdKey = Long.valueOf(orderData.getOrderTicketsId());
}
long orderTicketEntitiesKey; long orderTicketEntitiesKey;
if (isMember == 1) { if (isMember == 1) {
if (item.getOrderTicketEntitiesId().length() > 13) { if (item.getOrderTicketEntitiesId().length() > 13) {
...@@ -956,7 +963,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ ...@@ -956,7 +963,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ
obj3.setTicketItemId(ticketIdKey); obj3.setTicketItemId(ticketIdKey);
obj3.setVoucherId(orderTicketEntitiesKey);//票单号 入场人id obj3.setVoucherId(orderTicketEntitiesKey);//票单号 入场人id
obj3.setOrderId(Long.parseLong(orderData.getOrderTicketsId()));//订单id orderId obj3.setOrderId(orderIdKey);//订单id orderId
obj3.setMediumType(orderData.getGetTicketType().equals("express") ? 1L : 2L);//票类型 快递 电子 obj3.setMediumType(orderData.getGetTicketType().equals("express") ? 1L : 2L);//票类型 快递 电子
obj3.setSupplierSecret(taobaoTicketUtils.getSupplierSecret()); obj3.setSupplierSecret(taobaoTicketUtils.getSupplierSecret());
obj3.setSystemId(taobaoTicketUtils.getSystemId()); obj3.setSystemId(taobaoTicketUtils.getSystemId());
......
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