|
|
@ -377,7 +377,12 @@ public class DistributionParcelListClient implements IDistributionParcelListClie |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void updatePackageStatus(List<String> orderPackageCodes, Long warehouseId, String packageStatus) { |
|
|
|
public void updatePackageStatus(List<String> orderPackageCodes, Long warehouseId, String packageStatus) { |
|
|
|
distributionParcelListService.updatePackageStatus(orderPackageCodes, warehouseId, packageStatus); |
|
|
|
|
|
|
|
|
|
|
|
//把orderPackageCodes每500条进行分组
|
|
|
|
|
|
|
|
List<List<String>> orderPackageCodeList = CollUtil.split(orderPackageCodes, 500); |
|
|
|
|
|
|
|
orderPackageCodeList.forEach(orderPackageCodeList1 -> { |
|
|
|
|
|
|
|
distributionParcelListService.updatePackageStatus(orderPackageCodeList1, warehouseId, packageStatus); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
List<DistributionParcelListEntity> list = distributionParcelListService.findListByOrderPackageCode(orderPackageCodes, warehouseId); |
|
|
|
List<DistributionParcelListEntity> list = distributionParcelListService.findListByOrderPackageCode(orderPackageCodes, warehouseId); |
|
|
|
//把list中的orderCode放入一个set
|
|
|
|
//把list中的orderCode放入一个set
|
|
|
|