|
|
@ -1720,7 +1720,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
case 2: |
|
|
|
case 2: |
|
|
|
//库存品
|
|
|
|
//库存品
|
|
|
|
billLadingEntity1.setReserveQuantity(billLadingEntity1.getReserveQuantity() + 1); |
|
|
|
billLadingEntity1.setReserveQuantity(billLadingEntity1.getReserveQuantity() + 1); |
|
|
|
updateStockupStockListDate(stockupDTO); |
|
|
|
// updateStockupStockListDate(stockupDTO);
|
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
distrilbutionBillLadingMapper.updateById(billLadingEntity1); |
|
|
|
distrilbutionBillLadingMapper.updateById(billLadingEntity1); |
|
|
@ -1743,7 +1743,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
case 2: |
|
|
|
case 2: |
|
|
|
//库存品
|
|
|
|
//库存品
|
|
|
|
reservationEntity.setReserveQuantity(distributionReservationEntity.getReserveQuantity() + 1); |
|
|
|
reservationEntity.setReserveQuantity(distributionReservationEntity.getReserveQuantity() + 1); |
|
|
|
updateStockupStockListDate(stockupDTO); |
|
|
|
// updateStockupStockListDate(stockupDTO);
|
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
//计算是否完成
|
|
|
|
//计算是否完成
|
|
|
@ -1766,6 +1766,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
* 备货库存品备货时间回显 |
|
|
|
* 备货库存品备货时间回显 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
|
|
|
|
@Async |
|
|
|
public void updateStockupStockListDate(StockupDTO stockupDTO) { |
|
|
|
public void updateStockupStockListDate(StockupDTO stockupDTO) { |
|
|
|
Integer scanType = stockupDTO.getScanType();//扫码类型 1 包件 2库存品
|
|
|
|
Integer scanType = stockupDTO.getScanType();//扫码类型 1 包件 2库存品
|
|
|
|
Long reservationId = stockupDTO.getReservationId();//预约ID
|
|
|
|
Long reservationId = stockupDTO.getReservationId();//预约ID
|
|
|
@ -1811,7 +1812,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
} |
|
|
|
} |
|
|
|
distributionDeliveryDetailsService.updateById(entity); |
|
|
|
distributionDeliveryDetailsService.updateById(entity); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
//预约的库存品
|
|
|
|
//预约的库存品 商 市
|
|
|
|
DistributionReservationStocklistEntity one1 = distributionReservationStocklistMapper.selectOne(Wrappers.<DistributionReservationStocklistEntity>query().lambda() |
|
|
|
DistributionReservationStocklistEntity one1 = distributionReservationStocklistMapper.selectOne(Wrappers.<DistributionReservationStocklistEntity>query().lambda() |
|
|
|
.eq(DistributionReservationStocklistEntity::getReservationId, stockupDTO.getReservationId()) |
|
|
|
.eq(DistributionReservationStocklistEntity::getReservationId, stockupDTO.getReservationId()) |
|
|
|
.eq(DistributionReservationStocklistEntity::getStocklistId, stockupDTO.getStockListId()) |
|
|
|
.eq(DistributionReservationStocklistEntity::getStocklistId, stockupDTO.getStockListId()) |
|
|
|