parent
305932e79f
commit
46b4452278
|
|
@ -389,7 +389,7 @@ public class AgvTaskServiceImpl implements AgvTaskService {
|
||||||
Inventory inventory = inventoryService.getInventory(task.getItemKey(), task.getDstPoint(), task.getSrcStock(), task.getDept(), BizStatus.RECEIVING_UP);
|
Inventory inventory = inventoryService.getInventory(task.getItemKey(), task.getDstPoint(), task.getSrcStock(), task.getDept(), BizStatus.RECEIVING_UP);
|
||||||
inventory.setQuantity(task.getPlanQty());
|
inventory.setQuantity(task.getPlanQty());
|
||||||
inventoryService.update(inventory);
|
inventoryService.update(inventory);
|
||||||
inventoryLogService.storeInventoryLog(BizStatus.RECEIVING_UP, BizStatus.ADD, null, task.getItemKey(), task.getSrcPoint(), task.getDstPoint(), task.getSrcStock(), task.getSrcStock(), 0d, task.getPlanQty(), BizStatus.ASN, ad.getId(), inventory.getId(), ad.getRemark());
|
inventoryLogService.storeInventoryLog(BizStatus.RECEIVING_UP, BizStatus.ADD, null, task.getItemKey(), task.getSrcPoint(), task.getDstPoint(), task.getSrcStock(), task.getSrcStock(), task.getPlanQty(), task.getPlanQty(), BizStatus.ASN, ad.getId(), inventory.getId(), ad.getRemark());
|
||||||
|
|
||||||
}
|
}
|
||||||
//任务完成
|
//任务完成
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue