From d5c610cbf2451bbf9a103c295ae51e541ad98951 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期二, 18 二月 2025 17:16:26 +0800
Subject: [PATCH] 1

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_ConveyorLine.cs |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_ConveyorLine.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_ConveyorLine.cs"
index 1e39a7f..cc108bf 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_ConveyorLine.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_ConveyorLine.cs"
@@ -122,16 +122,17 @@
 
                 Dt_StockInfoDetail stockInfoDetail = stockInfo.Details.FirstOrDefault();
 
-                if (lineDTO.Spec != 1 || lineDTO.Weight != 500)//妫�娴嬫潯浠堕渶鏇存敼锛侊紒锛侊紒锛侊紒锛侊紒锛侊紒
+                if (/*lineDTO.Spec != 1 ||*/ lineDTO.Weight > 1500)//妫�娴嬫潯浠堕渶鏇存敼锛侊紒锛侊紒锛侊紒锛侊紒锛侊紒
                 {
-                    task.NextAddress = "101";
+                    //task.NextAddress = "101";
                     task.TaskState = (int)InTaskStatusEnum.InException;
-                    task.Remark = $"鎵樼洏[{lineDTO.Barcode}]淇℃伅涓嶅悎鏍�";
+                    task.Remark = $"鎵樼洏[{lineDTO.Barcode}]瓒呴噸";
+                    //task.Remark = $"鎵樼洏[{lineDTO.Barcode}]淇℃伅涓嶅悎鏍�";
                     //stockInfo.StockStatus = StockStatusEmun.鍏ュ簱鎾ら攢.ObjToInt();
                 }
                 else
                 {
-                    task.NextAddress = "104";
+                    task.NextAddress = "1004";
                     task.CurrentAddress = lineDTO.stationCode;
                     task.Remark = string.Empty;
                     task.TaskState = (int)InTaskStatusEnum.Line_InExecuting;

--
Gitblit v1.9.3