@ -359,8 +359,11 @@ public class PanFactoryDataServiceImpl implements IPanFactoryDataService {
throw new CustomerException ( 405 , "未找到对应的订单信息" ) ;
}
Integer total = advanceEntity . getTotal ( ) ; //发货总数量
List < AdvanceEntity > ls = advanceClient . getAdvanceList ( orderSelfNum ) ;
Integer total = 0 ; //发货总数量
for ( AdvanceEntity ad : ls ) {
total = total + ad . getTotal ( ) ;
}
Map < String , String > supplyData = advanceDetailClient . getSupplyData ( unitNo ) ;
String destinationWarehouse = "" ;
@ -675,6 +678,7 @@ public class PanFactoryDataServiceImpl implements IPanFactoryDataService {
} else {
DistributionParcelListEntity entity = new DistributionParcelListEntity ( ) ;
BeanUtil . copyProperties ( vo , entity ) ;
entity . setQuantity ( 1 ) ;
entity . setOrderPackageCode ( vo . getPacketBarCode ( ) ) ;
entity . setConditions ( 1 ) ;
entity . setWarehouse ( distributionStockArticleEntity . getWarehouse ( ) ) ;