|
|
|
@ -407,6 +407,15 @@ public class PanFactoryDataServiceImpl implements IPanFactoryDataService {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
WayBillEntity wayBillEntity = wayBillClient.getByWayBillByAdvanceId(advanceEntity.getId()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(null==wayBillEntity){ |
|
|
|
|
logger.error("包条同步失败 ----> 数据异常 包条对应的运单不存在 包件 {} 运单对象 {},",unitNo,wayBillEntity); |
|
|
|
|
return ; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (ObjectUtils.isNotNull(wayBillEntity)) { |
|
|
|
|
|
|
|
|
|
distributionStockArticleEntity.setConsigneeUnit(wayBillEntity.getTakeCompany());//收货单位(经销商)
|
|
|
|
|