From 4da42c12efde190b208f18b7dd51d3e89986837d Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期一, 07 四月 2025 11:19:16 +0800
Subject: [PATCH] 代码逻辑优化

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Inbound.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Inbound.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Inbound.cs"
index a8bdacb..589acd3 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Inbound.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Inbound.cs"
@@ -241,12 +241,12 @@
                 {
                     string stationcode = saveModel.MainData["stationcode"].ToString();
                     string PalletCode = saveModel.MainData["PalletCode"].ToString();//闇�鍖哄垎鍖哄煙锛侊紒锛侊紒锛侊紒锛侊紒锛�
-                    string PointName = saveModel.MainData["PointName"].ToString();
-                    if (stationcode == "" || PalletCode == "" || PointName == "")//寮傚父杩斿洖銆傘�傘�傘�傘�傘��
+                    //string PointName = saveModel.MainData["PointName"].ToString();
+                    if (stationcode == "" || PalletCode == "")//寮傚父杩斿洖銆傘�傘�傘�傘�傘�倈| PointName == ""  && x.PointName.Contains(PointName)
                     {
                         return content = WebResponseContent.Instance.Error($"娣诲姞浠诲姟寮傚父,閿欒淇℃伅:{"鎵爜鏁版嵁涓嶈兘涓虹┖"}");
                     }
-                    Dt_CachePoint endCachePoint = _basicService.CachePointService.Repository.QueryFirst(x => x.PointCode.Contains("鎴愬搧搴�") && x.PointName.Contains(PointName) && x.PointStatus == LocationStatusEnum.Free.ObjToInt());
+                    Dt_CachePoint endCachePoint = _basicService.CachePointService.Repository.QueryFirst(x => x.PointCode.Contains("鎴愬搧搴�") && x.PointStatus == LocationStatusEnum.Free.ObjToInt());
                     if (endCachePoint == null)
                     {
                         return content = WebResponseContent.Instance.Error($"娣诲姞浠诲姟寮傚父,閿欒淇℃伅:{"鏈壘鍒版垚鍝佸簱鍙敤瀛樻斁缂撳瓨鏋�"}");

--
Gitblit v1.9.3