From 2ca90a404fa1ab94eb6374f50c6ddd47a2b7f0e6 Mon Sep 17 00:00:00 2001
From: kazelee <1847801760@qq.com>
Date: 星期四, 31 七月 2025 17:23:57 +0800
Subject: [PATCH] 删除有问题的TCP旧代码, 优化事务处理和ERP数据模型

---
 api/ForceController.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/api/ForceController.cs b/api/ForceController.cs
index c19181d..11c25cf 100644
--- a/api/ForceController.cs
+++ b/api/ForceController.cs
@@ -51,7 +51,7 @@
                     return NewSimpleResult(3, preLog + LogMsg.EndLocNotFound(model.EndLoc, null, -1));
                 }
 
-                var task = WCSHelper.BuildTaskWithLocLock(startLoc, endLoc, model.CntId, taskInfo.TaskName);
+                var task = WCSHelper.BuildTaskAndLockLoc(startLoc, endLoc, model.CntId, taskInfo.TaskName);
 
                 (ok, msg) = DbTran.CreateTask(new CreateTaskObj {
                     StartLocToUpdate = startLoc,

--
Gitblit v1.9.1