|
|
|
@ -331,6 +331,20 @@ public class SyncOrderInfoServiceImpl implements ISyncOrderInfoService {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void clearOrderPackageStatusOut(String orderPackageCode, Long warehouseId) { |
|
|
|
|
DistributionParcelListEntity parcelListEntity = distributionParcelListClient.findByPacketBarCodeAndWarehouseId(orderPackageCode, warehouseId); |
|
|
|
|
if(!Objects.isNull(parcelListEntity)){ |
|
|
|
|
String orderCode = parcelListEntity.getOrderCode(); |
|
|
|
|
parcelListEntity.setOrderPackageStatus("60"); |
|
|
|
|
parcelListEntity.setOrderPackageGroundingStatus("10"); |
|
|
|
|
|
|
|
|
|
distributionParcelListClient.update(parcelListEntity); |
|
|
|
|
distributionStockArticleClient.updateOrderInfo(orderCode,warehouseId); |
|
|
|
|
warehouseUpdownTypeClient.downPackageOrDelTray(orderPackageCode,warehouseId); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
|
@Override |
|
|
|
|