no message

main
HUOJIN\92525 2026-01-11 18:45:51 +08:00
parent ba8f77f5dd
commit 1b849648ea
3 changed files with 3 additions and 3 deletions

View File

@ -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());
} }
//更新该工作站任务计数 //更新该工作站任务计数

View File

@ -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;

View File

@ -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);
} }
} }