Commit 9a0b659850ababb6fef1a36f2c93495869a3e9b4
1 parent
286bd9c0
合并库存
Showing
1 changed file
with
4 additions
and
3 deletions
huaheng-wms-core/src/main/java/org/jeecg/modules/wms/inventory/inventoryHeader/service/impl/InventoryDetailServiceImpl.java
... | ... | @@ -482,10 +482,11 @@ public class InventoryDetailServiceImpl extends ServiceImpl<InventoryDetailMappe |
482 | 482 | if (!success) { |
483 | 483 | throw new JeecgBootException("调整库存,托盘:" + containerCode + "调整库存失败"); |
484 | 484 | } |
485 | + if (!taskHeaderService.combineInventoryDetail(containerCode, warehouseCode)) { | |
486 | + throw new JeecgBootException("调整库存,合并数量托盘:" + containerCode + "调整库存失败"); | |
487 | + } | |
485 | 488 | } |
486 | - if (!taskHeaderService.combineInventoryDetail(containerCode, warehouseCode)) { | |
487 | - throw new JeecgBootException("调整库存,合并数量托盘:" + containerCode + "调整库存失败"); | |
488 | - } | |
489 | + | |
489 | 490 | return Result.OK("调整库存,托盘:" + containerCode + "调整库存成功"); |
490 | 491 | } |
491 | 492 | } |
... | ... |