|
|
|
@ -775,6 +775,11 @@ public class SyncOrderInfoServiceImpl implements ISyncOrderInfoService {
|
|
|
|
|
log.info("###########saveOrderPackage: 包条不在盘点任务中存在,不同步 unitNo={}",unitNo); |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
DistributionParcelListEntity parcelListEntity = distributionParcelListClient.findByPacketBarCode(unitNo); |
|
|
|
|
if(!Objects.isNull(parcelListEntity)){ |
|
|
|
|
log.info("###########saveOrderPackage: 包条已存在,不同步 unitNo={}",unitNo); |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Integer status = orderDetailEntity.getStatus(); |
|
|
|
|
Integer carsType = orderDetailEntity.getCarsType(); |
|
|
|
@ -1013,16 +1018,20 @@ public class SyncOrderInfoServiceImpl implements ISyncOrderInfoService {
|
|
|
|
|
String unitNo = entity.getUnitNo();//包条码
|
|
|
|
|
|
|
|
|
|
TrayScanDesEntity trayScanDesEntity = trayScanDesClient.findScanTypeId(trayId,unitNo,oldWarehouseId); |
|
|
|
|
Integer type = 0; |
|
|
|
|
if(!Objects.isNull(trayScanDesEntity)){ |
|
|
|
|
Integer trayScanId = trayScanDesEntity.getTrayScanId(); |
|
|
|
|
//查询打托方式信息
|
|
|
|
|
TrayScanEntity trayScanEntity = trayScanClient.getEntityByTrayScanId(trayScanId); |
|
|
|
|
type = trayScanEntity.getType(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
InventoryDetailEntity inventoryDetailEntity = inventoryDetailClient.findUnitNoIsExist(unitNo); |
|
|
|
|
if(Objects.isNull(inventoryDetailEntity)){ |
|
|
|
|
log.info("###########saveTrayTypeInfoPackage: 包条不在盘点任务中存在,不同步 unitNo={}",unitNo); |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
//查询打托方式信息
|
|
|
|
|
TrayScanEntity trayScanEntity = trayScanClient.getEntityByTrayScanId(trayScanId); |
|
|
|
|
Integer type = trayScanEntity.getType(); |
|
|
|
|
|
|
|
|
|
//方式:1=仓,2=商场,3=客户,4=其他,5=服务号,6=合同号
|
|
|
|
|
//方式:60=仓,30=商场,50=客户,100=其他,10=服务号,20=合同号
|
|
|
|
|