|
|
|
@ -863,7 +863,7 @@ public class DistributionOrderServiceImpl implements DistributionOrderService {
|
|
|
|
|
String filterPurchaseStatus = null;
|
|
|
|
|
if (purchaseSkuIds.isEmpty()) {
|
|
|
|
|
filterPurchaseStatus = PurchaseOrderConst.FILTER_PURCHASE_STATUS_WAIT_PURCHASE;
|
|
|
|
|
} else if (!noPurchaseSkuIds.isEmpty() && opOrderExt.getFilterPurchaseStatus() != 3) {
|
|
|
|
|
} else if (!noPurchaseSkuIds.isEmpty() && (opOrderExt.getFilterPurchaseStatus() == null || opOrderExt.getFilterPurchaseStatus() != 3)) {
|
|
|
|
|
filterPurchaseStatus = PurchaseOrderConst.FILTER_PURCHASE_STATUS_PART_PURCHASE;
|
|
|
|
|
} else if (noPurchaseSkuIds.isEmpty()) {
|
|
|
|
|
filterPurchaseStatus = PurchaseOrderConst.FILTER_PURCHASE_STATUS_HAS_PURCHASE;
|
|
|
|
@ -1051,12 +1051,11 @@ public class DistributionOrderServiceImpl implements DistributionOrderService {
|
|
|
|
|
purchaseOrder.setPurchaseOrderRefundMoney(new BigDecimal(0));
|
|
|
|
|
purchaseOrder.setPurchaseOrderBuyer(purchaseOrderDto.getPurchaseOrderBuyer());
|
|
|
|
|
purchaseOrder.setPurchaseOrderSeller(purchaseOrderDto.getPurchaseOrderSeller());
|
|
|
|
|
purchaseOrder.setPurchaseOrderStatus(purchaseOrderDto.getPurchaseOrderStatus());
|
|
|
|
|
purchaseOrder.setPurchaseOrderStatus(purchaseStatus);
|
|
|
|
|
purchaseOrder.setPurchaseOrderLogisticsName(purchaseOrderDto.getPurchaseOrderLogisticsName());
|
|
|
|
|
purchaseOrder.setPurchaseOrderWaybillCode(purchaseOrderDto.getPurchaseOrderWaybillCode());
|
|
|
|
|
purchaseOrder.setPurchaseOrderStartTime(purchaseOrderStartTime);
|
|
|
|
|
purchaseOrder.setPurchaseOrderSendTime(purchaseOrderSendTime);
|
|
|
|
|
purchaseOrder.setPurchaseOrderStatus(purchaseStatus);
|
|
|
|
|
purchaseOrder.setPurchaseOrderFullname(purchaseOrderDto.getPurchaseOrderFullname());
|
|
|
|
|
purchaseOrder.setPurchaseOrderMobile(purchaseOrderDto.getPurchaseOrderMobile());
|
|
|
|
|
purchaseOrder.setPurchaseOrderFullAddress(purchaseOrderDto.getPurchaseOrderFullAddress());
|
|
|
|
|