|
|
|
@ -1643,7 +1643,11 @@ public class SyncOrderInfoServiceImpl implements ISyncOrderInfoService {
|
|
|
|
|
entity.setOrderPackageStatus(OrderPackageStatusConstant.yiruku.getValue()); |
|
|
|
|
if(!Objects.isNull(waybillEntity)){ |
|
|
|
|
String warehouseName = waybillEntity.getWarehouseName();//目的仓
|
|
|
|
|
Integer warehouseId1 = waybillEntity.getWarehouseId(); |
|
|
|
|
BasicdataWarehouseEntity endhouse = basicdataWarehouseClient.findByName(warehouseName); |
|
|
|
|
if(Objects.isNull(endhouse)){ |
|
|
|
|
endhouse = basicdataWarehouseClient.getWarehouseByOldId(warehouseId1); |
|
|
|
|
} |
|
|
|
|
Long endWarehouseId = endhouse.getId(); |
|
|
|
|
if(endWarehouseId.equals(warehouseId)){ |
|
|
|
|
entity.setIsTransfer(0); |
|
|
|
|