|
|
@@ -4720,6 +4720,7 @@ public class FsStoreOrderServiceImpl implements IFsStoreOrderService {
|
|
|
String s = WeizouApiClient.pushOrder(param);
|
|
|
log.info("微走推送结果:{}",s);
|
|
|
}
|
|
|
+ private static final int STATUS_INTEGRAL_PAYED = 1;
|
|
|
private static final int STATUS_PENDING_SHIPMENT = 2;
|
|
|
private static final int STATUS_SHIPPED = 3;
|
|
|
private static final int STATUS_TO_EVALUATED = 4;
|
|
|
@@ -4807,7 +4808,7 @@ public class FsStoreOrderServiceImpl implements IFsStoreOrderService {
|
|
|
if (order instanceof FsStoreOrderScrm) {
|
|
|
FsStoreOrderScrm o = (FsStoreOrderScrm) order;
|
|
|
fsStoreOrder.setOrderId(o.getId());
|
|
|
- if (o.getStatus() == STATUS_PENDING_SHIPMENT) {
|
|
|
+ if (o.getStatus() == STATUS_INTEGRAL_PAYED) {
|
|
|
executeShipOrderScrm(o, fsStoreOrder, opeName);
|
|
|
} else {
|
|
|
updateDeliveryInfoScrm(o, fsStoreOrder, opeName);
|
|
|
@@ -4816,14 +4817,14 @@ public class FsStoreOrderServiceImpl implements IFsStoreOrderService {
|
|
|
}else{
|
|
|
FsIntegralOrder o = (FsIntegralOrder) order;
|
|
|
fsStoreOrder.setOrderId(o.getOrderId());
|
|
|
- if (o.getStatus() == STATUS_PENDING_SHIPMENT) {
|
|
|
+ if (o.getStatus() == STATUS_INTEGRAL_PAYED) {
|
|
|
executeShipOrderIntegral(o, fsStoreOrder, opeName);
|
|
|
} else {
|
|
|
updateDeliveryInfoIntegral(o, fsStoreOrder, opeName);
|
|
|
}
|
|
|
|
|
|
}
|
|
|
- log.info("微走取消发货, 订单号: {}", fsStoreOrder.getOrderId());
|
|
|
+ log.info("微走发货, 订单号: {}", fsStoreOrder.getOrderId());
|
|
|
return 1;
|
|
|
}
|
|
|
|