From 64a2aa2301946f777659239247233e47ad1e3076 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期日, 12 四月 2026 11:54:15 +0800
Subject: [PATCH] feat(事务管理): 添加异步事务处理方法

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_GradingMachine.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_GradingMachine.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_GradingMachine.cs
index b5af9c9..89fae08 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_GradingMachine.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_GradingMachine.cs
@@ -4,6 +4,7 @@
 using SqlSugar;
 using System.DirectoryServices.Protocols;
 using System.Text.Json;
+using WIDESEA_Common.Constants;
 using WIDESEA_Common.LocationEnum;
 using WIDESEA_Common.StockEnum;
 using WIDESEA_Common.TaskEnum;
@@ -137,8 +138,8 @@
                         PalletType = stock.PalletType,
                         SourceAddress = stock.LocationCode,
                         CurrentAddress = stock.LocationCode,
-                        NextAddress = "10080",
-                        TargetAddress = "10081",
+                        NextAddress = TaskAddressConstants.DEFAULT_ADDRESS,
+                        TargetAddress = TaskAddressConstants.GRADING_OUTBOUND_ADDRESS,
                         Roadway = stock.LocationDetails.RoadwayNo,
                         TaskType = TaskTypeEnum.Outbound.GetHashCode(),
                         TaskStatus = TaskStatusEnum.New.GetHashCode(),

--
Gitblit v1.9.3