From 533df0275a3090951af5d3bf8f5fdbeea2ce44b8 Mon Sep 17 00:00:00 2001
From: zhaowc <526854230@qq.com>
Date: 星期五, 17 一月 2025 09:42:11 +0800
Subject: [PATCH] WCS出库完成接口修改,PDA的AGV转运调度小车修改

---
 Wms/WMS.BLL/BllPdaServer/PdaCrServer.cs |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/Wms/WMS.BLL/BllPdaServer/PdaCrServer.cs b/Wms/WMS.BLL/BllPdaServer/PdaCrServer.cs
index 59aeddc..0873805 100644
--- a/Wms/WMS.BLL/BllPdaServer/PdaCrServer.cs
+++ b/Wms/WMS.BLL/BllPdaServer/PdaCrServer.cs
@@ -799,10 +799,10 @@
                     {
                         throw new Exception("鎵樼洏鍌ㄤ綅淇℃伅涓嶅瓨鍦�,璇锋鏌�!");
                     }
-                    if (models.WareHouseNo != "W02")
-                    {
-                        throw new Exception("璇ユ墭鐩樻湭鍦ㄥ钩搴撳唴,璇锋鏌�!");
-                    }
+                    //if (models.WareHouseNo != "W02")
+                    //{
+                    //    throw new Exception("璇ユ墭鐩樻湭鍦ㄥ钩搴撳唴,璇锋鏌�!");
+                    //}
                     var storageLocat = Db.Queryable<SysStorageLocat>().First(w => w.IsDel == "0" && w.LocatNo == models.LocatNo);
                     if (storageLocat == null)
                     {
@@ -1351,9 +1351,7 @@
 
                 
 
-                var IsTrue = false;
-                while (IsTrue == true)
-                {
+                
                     // 姝e紡杩愯绋嬪簭鏀惧紑
                     string str = "";
                     var list2 = agvTaskList.Select(m => m.TaskCode).ToList();
@@ -1375,7 +1373,7 @@
                             //鏇存敼浠诲姟鐨勫彂閫佽繑鍥炴椂闂�//
                             new TaskServer().EditTaskIssueOk(list2, time1, time2);
                             str += "涓嬪彂鎴愬姛";
-                            IsTrue = true;
+                            //IsTrue = true;
                         }
                         if (agvModel.Code == "1")
                         {
@@ -1387,7 +1385,7 @@
                     {
                         throw new Exception(ex.Message);
                     }
-                }
+                
 
                 #endregion
 

--
Gitblit v1.8.0