duyongjia
2024-12-25 f344c6a0626b480cfeaf380b82f71b6553a9b429
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
@@ -369,7 +369,8 @@
                _recordService.StockQuantityChangeRecordService.AddStockChangeRecord(stockInfo, stockInfo.Details, beforeQuantity, stockInfo.Details.Sum(x => x.StockQuantity) - beforeQuantity, StockChangeType.Outbound, task.TaskNum);
                _unitOfWorkManage.CommitTran();
                return OnOutboundTaskCompleted?.Invoke(task) ?? WebResponseContent.Instance.OK();
                return WebResponseContent.Instance.OK();
                //return OnOutboundTaskCompleted?.Invoke(task) ?? WebResponseContent.Instance.OK();
            }
            catch (Exception ex)