|
|
@ -3325,7 +3325,10 @@ public class DistrilbutionBillLadingServiceImpl extends BaseServiceImpl<Distrilb |
|
|
|
distributionStockupInfoService.maintenanceStockUp(Long.parseLong(s), 2); |
|
|
|
distributionStockupInfoService.maintenanceStockUp(Long.parseLong(s), 2); |
|
|
|
//查询自提单是否完成扫描
|
|
|
|
//查询自提单是否完成扫描
|
|
|
|
Integer integer = this.selectBillLadingPlanNum(Long.parseLong(s)); |
|
|
|
Integer integer = this.selectBillLadingPlanNum(Long.parseLong(s)); |
|
|
|
List<DistributionBillLadingScanEntity> ladingScanEntities = distributionBillLadingScanService.list(Wrappers.<DistributionBillLadingScanEntity>query().lambda().eq(DistributionBillLadingScanEntity::getBillLadingId, Long.parseLong(s))); |
|
|
|
List<DistributionBillLadingScanEntity> ladingScanEntities = distributionBillLadingScanService.list(Wrappers.<DistributionBillLadingScanEntity>query().lambda() |
|
|
|
|
|
|
|
.eq(DistributionBillLadingScanEntity::getBillLadingId, Long.parseLong(s)) |
|
|
|
|
|
|
|
.eq(DistributionBillLadingScanEntity::getMaterialType, "2") |
|
|
|
|
|
|
|
); |
|
|
|
if (Func.isNotEmpty(ladingScanEntities)) { |
|
|
|
if (Func.isNotEmpty(ladingScanEntities)) { |
|
|
|
int sum = ladingScanEntities.stream().mapToInt(DistributionBillLadingScanEntity::getQuantity).sum(); |
|
|
|
int sum = ladingScanEntities.stream().mapToInt(DistributionBillLadingScanEntity::getQuantity).sum(); |
|
|
|
if (integer != sum) { |
|
|
|
if (integer != sum) { |
|
|
|