no message
parent
ba8f77f5dd
commit
1b849648ea
|
|
@ -262,7 +262,7 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, Task> implements IT
|
||||||
|
|
||||||
if (inventory != null && pick != null && pickDetail != null) {
|
if (inventory != null && pick != null && pickDetail != null) {
|
||||||
inventoryLogService.addAllocInventoryLog(inventory, bestOutPoint.getId(),
|
inventoryLogService.addAllocInventoryLog(inventory, bestOutPoint.getId(),
|
||||||
task.getPlanQty(), pick.getOrderNo(), pickDetail.getId(), pickDetail.getDescription());
|
task.getPlanQty(), pick.getThirdOrderNo(), pickDetail.getId(), pickDetail.getDescription());
|
||||||
}
|
}
|
||||||
|
|
||||||
//更新该工作站任务计数
|
//更新该工作站任务计数
|
||||||
|
|
|
||||||
|
|
@ -181,7 +181,7 @@ public class CancelAllocateProcessor {
|
||||||
deleteToTask.add(task);
|
deleteToTask.add(task);
|
||||||
|
|
||||||
// 记录取消分配日志
|
// 记录取消分配日志
|
||||||
inventoryLogService.addUnAllocInventoryLog(inventory, cancelQty, pick.getOrderNo(), pickDetail.getId(), pickDetail.getDescription());
|
inventoryLogService.addUnAllocInventoryLog(inventory, cancelQty, pick.getThirdOrderNo(), pickDetail.getId(), pickDetail.getDescription());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("分配异常,出库单ID: {}", pick.getId(), e);
|
log.error("分配异常,出库单ID: {}", pick.getId(), e);
|
||||||
throw e;
|
throw e;
|
||||||
|
|
|
||||||
|
|
@ -343,7 +343,7 @@ public class PickProcessor {
|
||||||
if (inventory != null) {
|
if (inventory != null) {
|
||||||
updateInventory(inventory, pickedQty, inventoryUpdateMap);
|
updateInventory(inventory, pickedQty, inventoryUpdateMap);
|
||||||
Pick pick = data.getPickMap().get(task.getPickId());
|
Pick pick = data.getPickMap().get(task.getPickId());
|
||||||
inventoryLogService.addPickInventoryLog(inventoryUpdateMap.get(inventory.getId()), task.getToPointId(), pickedQty, pick.getOrderNo(), task.getId(), null);
|
inventoryLogService.addPickInventoryLog(inventoryUpdateMap.get(inventory.getId()), task.getToPointId(), pickedQty, pick.getThirdOrderNo(), task.getId(), null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue