Browse Source

1.同步订单数据bug修复

pull/1/head
zhenghaoyu 12 months ago
parent
commit
811dabe905
  1. 6
      blade-service/logpm-patch/src/main/java/com/logpm/patch/service/impl/SyncOrderInfoServiceImpl.java

6
blade-service/logpm-patch/src/main/java/com/logpm/patch/service/impl/SyncOrderInfoServiceImpl.java

@ -1310,6 +1310,10 @@ public class SyncOrderInfoServiceImpl implements ISyncOrderInfoService {
distributionStockArticleEntity.setMallCode(advanceEntity.getDealerCode()); distributionStockArticleEntity.setMallCode(advanceEntity.getDealerCode());
if (ObjectUtils.isNotNull(wayBillEntity)) { if (ObjectUtils.isNotNull(wayBillEntity)) {
distributionStockArticleEntity.setMallName(wayBillEntity.getTakeCompany());
distributionStockArticleEntity.setMallCode(advanceEntity.getDealerCode());
distributionStockArticleEntity.setConsigneeUnit(wayBillEntity.getTakeCompany());//收货单位(经销商) distributionStockArticleEntity.setConsigneeUnit(wayBillEntity.getTakeCompany());//收货单位(经销商)
distributionStockArticleEntity.setConsigneePerson(wayBillEntity.getTakePerson());//收货人 distributionStockArticleEntity.setConsigneePerson(wayBillEntity.getTakePerson());//收货人
distributionStockArticleEntity.setConsigneeAddress(wayBillEntity.getTakeAddress());//收货人地址 distributionStockArticleEntity.setConsigneeAddress(wayBillEntity.getTakeAddress());//收货人地址
@ -1466,7 +1470,7 @@ public class SyncOrderInfoServiceImpl implements ISyncOrderInfoService {
if(endWarehouseId.equals(warehouseId)){ if(endWarehouseId.equals(warehouseId)){
entity.setOrderPackageStatus(OrderPackageStatusConstant.yiruku.getValue()); entity.setOrderPackageStatus(OrderPackageStatusConstant.yiruku.getValue());
}else{ }else{
entity.setOrderPackageStatus(OrderPackageStatusConstant.zhongzhuanruku.getValue()); entity.setOrderPackageStatus(OrderPackageStatusConstant.yiruku.getValue());
} }
} }
} }

Loading…
Cancel
Save