@ -17,6 +17,7 @@
package com.logpm.distribution.service.impl ;
import com.alibaba.fastjson.JSON ;
import com.alibaba.fastjson.JSONObject ;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper ;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper ;
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper ;
@ -46,6 +47,7 @@ import com.logpm.distribution.wrapper.DistributionDisStockListWrapper;
import com.logpm.distribution.wrapper.DistributionParcelListAppWrapper ;
import com.logpm.distribution.wrapper.DistributionParcelListWrapper ;
import com.logpm.distribution.wrapper.DistributionStockArticleWrapper ;
import com.logpm.warehouse.feign.IWarehouseUpdownStockUpAreaClient ;
import com.logpm.warehouse.feign.IWarehouseUpdownTypeClient ;
import lombok.extern.slf4j.Slf4j ;
import org.apache.commons.lang.StringUtils ;
@ -214,6 +216,10 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
private BladeRedis bladeRedis ;
@Autowired
private IWarehouseUpdownStockUpAreaClient warehouseUpdownStockUpAreaClient ;
@Override
public IPage < DistributionSignforVO > selectDistributionSignforPage ( IPage < DistributionSignforVO > page , DistributionSignforVO distributionSignfor ) {
//转换创建时间
@ -669,6 +675,11 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
public R signforInPC ( DistrilbutionAppsignforDTO distrilbutionloadingscanDTO ) {
String method = "DistributionSignforServiceImpl类,signforInPC方法" ;
SimpleDateFormat simpleDateFormat = new SimpleDateFormat ( "yyyy-MM-dd HH:mm:ss" ) ;
BasicdataWarehouseEntity myCurrentWarehouse = basicdataWarehouseClient . getMyCurrentWarehouse ( ) ;
if ( Func . isEmpty ( myCurrentWarehouse ) ) {
log . error ( method + "myCurrentWarehouse未授权" ) ;
return R . fail ( 403 , "未授权!!!" ) ;
}
if ( Func . isEmpty ( distrilbutionloadingscanDTO . getReservationId ( ) ) ) {
log . error ( method + "reservationId参数缺失" ) ;
return R . fail ( "请联系管理员!!!" ) ;
@ -683,7 +694,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
}
String [ ] split = distrilbutionloadingscanDTO . getBarcodes ( ) . split ( "," ) ;
List < DisStockListDetailEntity > detailEntities = distributionReservationMapper . selectInventoryListByReservation ( distrilbutionloadingscanDTO . getReservationId ( ) ) ;
List < JSONObject > jsonObjects = new ArrayList < > ( ) ;
if ( Func . isNotEmpty ( split ) ) {
for ( String s : split ) {
List < DisStockListDetailEntity > inventoryPackage = detailEntities . stream ( ) . filter ( f - > Func . isNotEmpty ( f . getStockPackageCode ( ) ) & & f . getStockPackageCode ( ) . equals ( s ) ) . collect ( Collectors . toList ( ) ) ;
@ -774,6 +785,14 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
Integer i = distributionSignforMapper . updateSignUser ( distributionLoadscaninvnEntity . getDeliveryId ( ) , distributionLoadscaninvnEntity . getReservationId ( ) , AuthUtil . getUser ( ) ) ;
//扣减库存
distributionStockListMapper . deductionQuantityStock ( distributionLoadscaninvnEntity . getInventoryId ( ) , distributionLoadscaninvnEntity . getLoadedNub ( ) ) ;
JSONObject jsonObject = new JSONObject ( ) ;
jsonObject . put ( "code" , distributionLoadscaninvnEntity . getOrderPackageCode ( ) ) ;
jsonObject . put ( "warehouseId" , myCurrentWarehouse . getId ( ) ) ;
jsonObject . put ( "taskId" , distrilbutionloadingscanDTO . getReservationId ( ) ) ;
jsonObject . put ( "type" , 2 ) ;
jsonObject . put ( "num" , 1 ) ;
jsonObject . put ( "remark" , "文员签收" ) ;
jsonObjects . add ( jsonObject ) ;
}
//修改对应库存品包件的签收数量
DisStockListDetailEntity disStockListDetailEntity = inventoryPackage . get ( 0 ) ;
@ -787,6 +806,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
}
}
warehouseUpdownStockUpAreaClient . downStockUpShelf ( jsonObjects ) ;
}
return R . status ( true ) ;
}
@ -1112,6 +1132,13 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
@Override
public R deliverySingleZeroPackage ( DistrilbutionAppsignforDTO distrilbutionloadingscanDTO ) {
String method = "#############DistributionSignforServiceImpl.deliverySingleZeroPackage" ;
BasicdataWarehouseEntity myCurrentWarehouse = basicdataWarehouseClient . getMyCurrentWarehouse ( ) ;
if ( Func . isEmpty ( myCurrentWarehouse ) ) {
log . error ( method + "未授权" ) ;
return R . fail ( 403 , "未授权" ) ;
}
if ( Func . isEmpty ( distrilbutionloadingscanDTO . getZeroPackageIds ( ) ) ) {
log . error ( method + "参数异常,zeroPackageIds为空" ) ;
return R . fail ( "请联系管理员" ) ;
@ -1123,6 +1150,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
//查询订单
String zeroPackageIds = distrilbutionloadingscanDTO . getZeroPackageIds ( ) ;
Long reservationId = distrilbutionloadingscanDTO . getReservationId ( ) ;
List < JSONObject > jsonObjects = new ArrayList < > ( ) ;
BladeUser user = AuthUtil . getUser ( ) ;
//查询零担计划
DistributionReservationZeroPackageEntity reservationZeroPackageEntities = distributionReservationZeroPackageService . getOne ( Wrappers . < DistributionReservationZeroPackageEntity > query ( ) . lambda ( )
@ -1242,6 +1270,14 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
distributionParcelNumberEntity . setSigninQuantity ( b ) ;
distributionParcelNumberEntity . setOutboundQuantity ( c ) ;
distributionParcelNumberEntity . setDeliveryQuantity ( d ) ;
JSONObject jsonObject = new JSONObject ( ) ;
jsonObject . put ( "code" , stockArticleEntity . getOrderCode ( ) ) ;
jsonObject . put ( "warehouseId" , myCurrentWarehouse . getId ( ) ) ;
jsonObject . put ( "taskId" , distrilbutionloadingscanDTO . getReservationId ( ) ) ;
jsonObject . put ( "type" , 3 ) ;
jsonObject . put ( "num" , 1 ) ;
jsonObject . put ( "remark" , "文员签收" ) ;
jsonObjects . add ( jsonObject ) ;
} else {
a = distributionParcelNumberEntity . getHandQuantity ( ) + loadscanEntity . getLoadedNub ( ) - reservationZeroPackageEntities . getQuantity ( ) ;
b = distributionParcelNumberEntity . getSigninQuantity ( ) - loadscanEntity . getReceivedQuantity ( ) + reservationZeroPackageEntities . getQuantity ( ) ;
@ -1258,23 +1294,32 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
loadscanEntity . setPackageNub ( reservationZeroPackageEntities . getQuantity ( ) ) ;
loadscanEntity . setSigningTime ( simpleDateFormat . format ( new Date ( System . currentTimeMillis ( ) + ( 6 * 1000 ) ) ) ) ;
loadscanEntity . setMsg ( "文员进行签收补录" ) ;
distributionLoadscanService . updateById ( loadscanEntity ) ;
distributionParcelNumberEntity . setHandQuantity ( a ) ;
distributionParcelNumberEntity . setSigninQuantity ( b ) ;
distributionParcelNumberEntity . setOutboundQuantity ( c ) ;
distributionParcelNumberEntity . setDeliveryQuantity ( d ) ;
int n = reservationZeroPackageEntities . getQuantity ( ) - loadscanEntity . getLoadedNub ( ) ;
int m = reservationZeroPackageEntities . getQuantity ( ) - loadscanEntity . getReceivedQuantity ( ) ;
//
log . info ( method + "文员签收零担,当前装车数:{},当前签收数:{},计划签收数:{}" , loadscanEntity . getLoadedNub ( ) , loadscanEntity . getReceivedQuantity ( ) , reservationZeroPackageEntities . getQuantity ( ) ) ;
distributionSignforMapper . updateSignforByReservationId ( loadscanEntity . getDeliveryId ( ) , loadscanEntity . getReservationId ( ) , m ) ;
}
distributionParcelListService . maintenanceZeroPackageInfo ( distributionParcelNumberEntity . getParcelListId ( ) , stockArticleEntity . getWarehouseId ( ) ) ;
distributionParcelNumberService . updateById ( distributionParcelNumberEntity ) ;
//维护订单
distributionStockArticleService . maintenanceOrderInfo ( stockArticleEntity . getOrderCode ( ) , stockArticleEntity . getWarehouseId ( ) ) ;
//更新签收数量
//维护配送单信息
deliveryListEntity . setDeliveryStatus ( DeliveryStatusConstant . peisongzhong . getValue ( ) ) ;
distributionDeliveryListService . updateById ( deliveryListEntity ) ;
//维护客户状态
distributionReservationService . maintenanceReservationInfo ( reservationId ) ;
//备货库位下架
warehouseUpdownStockUpAreaClient . downStockUpShelf ( jsonObjects ) ;
return R . success ( "操作成功" ) ;
}
@ -2326,7 +2371,17 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
//推送信息至工厂
distributionAsyncService . sendFactory ( collect . get ( 0 ) , simpleDateFormat . format ( new Date ( ) ) , distributionReservationEntity . getId ( ) , distributionReservationEntity . getReservationCode ( ) , myCurrentWarehouse . getName ( ) , nickName ) ;
orderPackageCodes . add ( updatePackage . getOrderPackageCode ( ) ) ;
//进行备货库位下架
List < JSONObject > jsonObjects = new ArrayList < > ( ) ;
JSONObject jsonObject = new JSONObject ( ) ;
jsonObject . put ( "code" , updatePackage . getOrderPackageCode ( ) ) ;
jsonObject . put ( "warehouseId" , myCurrentWarehouse . getId ( ) ) ;
jsonObject . put ( "taskId" , distributionReservationEntity . getId ( ) ) ;
jsonObject . put ( "type" , 1 ) ;
jsonObject . put ( "num" , 1 ) ;
jsonObject . put ( "remark" , "签收下架" ) ;
jsonObjects . add ( jsonObject ) ;
warehouseUpdownStockUpAreaClient . downStockUpShelf ( jsonObjects ) ;
} else if ( Func . isEmpty ( collect ) ) {
//这里就需要对该包件信息是否属于该配送计划进行判定。如果属于该配送计划则是串货。不是那么则需要提示是否异常签收或者返回的操作
@ -2459,6 +2514,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
}
List < String > orderpackages = new ArrayList < > ( ) ;
List < Long > packageLockIds = new ArrayList < > ( ) ;
List < JSONObject > jsonObjects = new ArrayList < > ( ) ;
for ( String orderPackageCode : orderPackageCodes ) {
List < DistributionParcelListEntity > collect = parcelListEntityList . stream ( ) . filter ( p - > p . getOrderPackageCode ( ) . equals ( orderPackageCode ) ) . collect ( Collectors . toList ( ) ) ;
if ( Func . isNotEmpty ( collect ) & & collect . size ( ) = = 1 ) {
@ -2552,7 +2608,14 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
distributionLoadscanEntity . setScanStatus ( LoadingStatusConstant . buluzhuangche . getValue ( ) ) ;
distributionLoadscanService . save ( distributionLoadscanEntity ) ;
packageLockIds . add ( distributionLoadscanEntity . getPackageId ( ) ) ;
JSONObject jsonObject = new JSONObject ( ) ;
jsonObject . put ( "code" , distributionLoadscanEntity . getOrderPackageCode ( ) ) ;
jsonObject . put ( "warehouseId" , myCurrentWarehouse . getId ( ) ) ;
jsonObject . put ( "taskId" , distrilbutionloadingscanDTO . getReservationId ( ) ) ;
jsonObject . put ( "type" , 1 ) ;
jsonObject . put ( "num" , 1 ) ;
jsonObject . put ( "remark" , "文员签收下架" ) ;
jsonObjects . add ( jsonObject ) ;
//进行签收数量的修改
Integer i = distributionDeliveryListMapper . updateloadingTimeById ( distrilbutionloadingscanDTO . getDeliveryId ( ) ) ;
//更新装车包件数和签收包件数
@ -2933,7 +2996,16 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
//修改签收数量
//包件下架解托
warehouseUpdownTypeClient . downPackageOrDelTray ( parcelListEntity . getOrderPackageCode ( ) , myCurrentWarehouse . getId ( ) , "签收下架解托" ) ;
List < JSONObject > jsonObjects = new ArrayList < > ( ) ;
JSONObject jsonObject = new JSONObject ( ) ;
jsonObject . put ( "code" , loadscanEntity . getOrderPackageCode ( ) ) ;
jsonObject . put ( "warehouseId" , myCurrentWarehouse . getId ( ) ) ;
jsonObject . put ( "taskId" , loadscanEntity . getReservationId ( ) ) ;
jsonObject . put ( "type" , 1 ) ;
jsonObject . put ( "num" , 1 ) ;
jsonObject . put ( "remark" , "异常签收下架" ) ;
jsonObjects . add ( jsonObject ) ;
warehouseUpdownStockUpAreaClient . downStockUpShelf ( jsonObjects ) ;
// Integer j = distributionSignforMapper.updateSignforNum(distributionLoadscanEntity.getDeliveryId(), distributionLoadscanEntity.getReservationId(), distributionLoadscanEntity.getPackageNub());
if ( Func . isEmpty ( loadscanEntity ) ) {
//更新装车包件数和签收包件数
@ -3385,12 +3457,16 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
distributionStockListMapper . deductionQuantityStock ( distributionLoadscaninvnEntity . getInventoryId ( ) , distributionLoadscaninvnEntity . getLoadedNub ( ) ) ;
packageLockIds . add ( distributionLoadscaninvnEntity . getInventoryPackageId ( ) ) ;
// //扣减库存
// DistributionStockListEntity stockListEntity = distributionStockListService.getById(inventory.get(0).getStockListId());
// stockListEntity.setQuantityOccupied(stockListEntity.getQuantityOccupied() - distributionLoadscaninvnEntity.getPackageNub());
// stockListEntity.setQuantityStock(stockListEntity.getQuantityStock() - distributionLoadscaninvnEntity.getPackageNub());
// stockListEntity.setOutboundQuantity(stockListEntity.getOutboundQuantity() + distributionLoadscaninvnEntity.getPackageNub());
// distributionStockListService.updateById(stockListEntity);
// distributionAsyncService.checkSignStatus(null, distributionLoadscaninvnEntity.getReservationId(),distributionLoadscaninvnEntity.getDeliveryId());
List < JSONObject > jsonObjects = new ArrayList < > ( ) ;
JSONObject jsonObject = new JSONObject ( ) ;
jsonObject . put ( "code" , distributionLoadscaninvnEntity . getOrderPackageCode ( ) ) ;
jsonObject . put ( "warehouseId" , myCurrentWarehouse . getId ( ) ) ;
jsonObject . put ( "taskId" , distributionLoadscaninvnEntity . getReservationId ( ) ) ;
jsonObject . put ( "type" , 2 ) ;
jsonObject . put ( "num" , 1 ) ;
jsonObject . put ( "remark" , "签收下架" ) ;
jsonObjects . add ( jsonObject ) ;
warehouseUpdownStockUpAreaClient . downStockUpShelf ( jsonObjects ) ;
}
//进行库存品包件状态维护
DisStockListDetailEntity disStockListDetailEntity = new DisStockListDetailEntity ( ) ;
@ -4420,6 +4496,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
int loadingInventoryNum = 0 ;
int signingPackageNum = 0 ;
int signingInventoryNum = 0 ;
List < JSONObject > jsonObjects = new ArrayList < > ( ) ;
// ------------------------------------2023-09-08 一键签收调整------------------------------------------
//1、查询本次一键签收操作是否有效 ---- > 这里一件签收针对的就是制定的任务下的包件和库存品
@ -4571,11 +4648,20 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
stockListEntity . setQuantityStock ( stockListEntity . getQuantityStock ( ) - newLoadscaninvnEntity . getPackageNub ( ) ) ;
stockListEntity . setOutboundQuantity ( stockListEntity . getOutboundQuantity ( ) + newLoadscaninvnEntity . getPackageNub ( ) ) ;
distributionStockListService . updateById ( stockListEntity ) ;
}
//不存在装车数据 这里需要进行装车数据的补录
detailEntity . setStockLockingStatus ( InventoryLoadingStatusConstant . yizhuangche . getValue ( ) ) ;
detailEntity . setStockSignfoStatus ( InventorySigningStatusConstant . yiqianshou . getValue ( ) ) ;
disStockListDetailService . updateById ( detailEntity ) ;
JSONObject jsonObject = new JSONObject ( ) ;
jsonObject . put ( "code" , detailEntity . getStockPackageCode ( ) ) ;
jsonObject . put ( "warehouseId" , myCurrentWarehouse . getId ( ) ) ;
jsonObject . put ( "taskId" , distributionSignforEntity . getReservationId ( ) ) ;
jsonObject . put ( "type" , 2 ) ;
jsonObject . put ( "num" , 1 ) ;
jsonObject . put ( "remark" , "批量签收下架" ) ;
jsonObjects . add ( jsonObject ) ;
}
} else {
log . error ( "################库存品未进行备货操作+{}" , detailEntities ) ;
@ -4605,6 +4691,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
// Integer signinQuantity = 0;
// Integer deliveryQuantity = 0;
// Integer handQuantity = 0;
int num = 0 ;
if ( Func . isNotEmpty ( distributionLoadscanEntity ) ) {
//情况列举:
// 1、装车件数未按照计划数量
@ -4622,7 +4709,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
//维护签收数量
parcelNumberServiceById . setSigninQuantity ( parcelNumberServiceById . getSigninQuantity ( ) - distributionLoadscanEntity . getLoadedNub ( ) + parcelNumberEntity . getReservationNum ( ) ) ;
loadingPackageNum + = ( parcelNumberEntity . getReservationNum ( ) - distributionLoadscanEntity . getLoadedNub ( ) ) ;
signingPackageNum + = ( parcelNumberEntity . getReservationNum ( ) - distributionLoadscanEntity . getLoadedNub ( ) ) ;
signingPackageNum + = ( parcelNumberEntity . getReservationNum ( ) - distributionLoadscanEntity . getReceivedQuantity ( ) ) ;
Integer loadedNub = distributionLoadscanEntity . getLoadedNub ( ) ;
Integer receivedQuantity = distributionLoadscanEntity . getReceivedQuantity ( ) ;
distributionLoadscanEntity . setOneClick ( 1 ) ;
@ -4686,6 +4773,8 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
}
loadscanEntity . setIsZero ( 1 ) ;
distributionLoadscanService . save ( loadscanEntity ) ;
num = loadscanEntity . getLoadedNub ( ) ;
packageLockIds . add ( loadscanEntity . getPackageId ( ) ) ;
//扣除在库数量
parcelNumberServiceById . setHandQuantity ( parcelNumberServiceById . getHandQuantity ( ) - parcelNumberEntity . getReservationNum ( ) ) ;
@ -4697,9 +4786,16 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
parcelNumberServiceById . setSigninQuantity ( parcelNumberServiceById . getSigninQuantity ( ) + parcelNumberEntity . getReservationNum ( ) ) ;
loadingPackageNum + = parcelNumberEntity . getReservationNum ( ) ;
signingPackageNum + = parcelNumberEntity . getReservationNum ( ) ;
}
//维护出库数量和签收数量
JSONObject jsonObject = new JSONObject ( ) ;
jsonObject . put ( "code" , parcelListEntity . getOrderPackageCode ( ) ) ;
jsonObject . put ( "warehouseId" , myCurrentWarehouse . getId ( ) ) ;
jsonObject . put ( "taskId" , distributionSignforEntity . getReservationId ( ) ) ;
jsonObject . put ( "type" , 3 ) ;
jsonObject . put ( "num" , num ) ;
jsonObject . put ( "remark" , "批量签收下架" ) ;
jsonObjects . add ( jsonObject ) ;
}
log . info ( method + "维护零担信息:{}" , parcelNumberServiceById ) ;
distributionParcelNumberService . updateById ( parcelNumberServiceById ) ;
orderCodes . add ( parcelListEntity . getOrderCode ( ) ) ;
@ -4794,6 +4890,14 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
packageIds . add ( parcelListEntity . getId ( ) ) ;
orderCodes . add ( parcelListEntity . getOrderCode ( ) ) ;
packageCodes . add ( parcelListEntity . getOrderPackageCode ( ) ) ;
JSONObject jsonObject = new JSONObject ( ) ;
jsonObject . put ( "code" , parcelListEntity . getOrderPackageCode ( ) ) ;
jsonObject . put ( "warehouseId" , myCurrentWarehouse . getId ( ) ) ;
jsonObject . put ( "taskId" , distributionSignforEntity . getReservationId ( ) ) ;
jsonObject . put ( "type" , 1 ) ;
jsonObject . put ( "num" , 1 ) ;
jsonObject . put ( "remark" , "批量签收下架" ) ;
jsonObjects . add ( jsonObject ) ;
}
@ -4802,7 +4906,8 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
//批量推送
distributionAsyncService . sendReviewFactory ( distributionSignforEntity . getId ( ) , myCurrentWarehouse . getName ( ) , myCurrentWarehouse . getId ( ) ) ;
}
//备货库位下架
warehouseUpdownStockUpAreaClient . downStockUpShelf ( jsonObjects ) ;
if ( Func . isNotEmpty ( packageCodes ) ) {
distributionAsyncService . handlPakcage ( packageIds , myCurrentWarehouse . getId ( ) ) ;
//批量下架
@ -5570,6 +5675,16 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
handQuantity = distributionParcelNumberEntity . getHandQuantity ( ) - parcelNumberDTO . getSigningNum ( ) ;
outboundQuantity = distributionParcelNumberEntity . getOutboundQuantity ( ) + parcelNumberDTO . getSigningNum ( ) ;
signinQuantity = distributionParcelNumberEntity . getSigninQuantity ( ) + parcelNumberDTO . getSigningNum ( ) ;
List < JSONObject > jsonObjects = new ArrayList < > ( ) ;
JSONObject jsonObject = new JSONObject ( ) ;
jsonObject . put ( "code" , parcelListEntity . getOrderCode ( ) ) ;
jsonObject . put ( "warehouseId" , myCurrentWarehouse . getId ( ) ) ;
jsonObject . put ( "taskId" , loadscanEntity . getReservationId ( ) ) ;
jsonObject . put ( "type" , 3 ) ;
jsonObject . put ( "num" , 1 ) ;
jsonObject . put ( "remark" , "签收下架" ) ;
jsonObjects . add ( jsonObject ) ;
warehouseUpdownStockUpAreaClient . downStockUpShelf ( jsonObjects ) ;
}
//维护订单
if ( outboundQuantity . equals ( distributionParcelNumberEntity . getQuantity ( ) ) ) {