From f1d726e3de8f15cdfe30d4ca5fbba733d73a1e56 Mon Sep 17 00:00:00 2001
From: 刘磊 <1161824510@qq.com>
Date: 星期六, 17 一月 2026 09:58:33 +0800
Subject: [PATCH] 同步

---
 项目代码/WMS/WMSServer/WIDESEA_StoragIntegrationServices/MES/Partial/bindWorkOrder.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/MES/Partial/bindWorkOrder.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/MES/Partial/bindWorkOrder.cs"
index 8533927..4ea73ba 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/MES/Partial/bindWorkOrder.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/MES/Partial/bindWorkOrder.cs"
@@ -19,9 +19,9 @@
     /// </summary>
     public partial class MESService
     {
-        public WebResponseContent bindWorkOrder(string stationCode)
+        public WebResponseContent bindWorkOrder(string stationNo, string rfid)
         {
-            WebResponseContent content = new WebResponseContent();
+            WebResponseContent content = new WebResponseContent();  
             try
             {
                 var configs = _configService.GetConfigsByCategory(CateGoryConst.CONFIG_SYS_MESIPAddress);
@@ -33,7 +33,7 @@
                 }
                 var wmsIpAddress = wmsBase + ipAddress;
 
-                var stationInfo = _stationManagerRepository.QueryFirst(x => x.stationChildCode == stationCode);
+                var stationInfo = _stationManagerRepository.QueryFirst(x => x.stationChildCode == stationNo);
 
                 BindWorkOrder passPoint = new BindWorkOrder()
                 {
@@ -41,7 +41,7 @@
                     stationCode = stationInfo.stationChildCode,
                     messageTime = DateTime.Now.ToString(),
                     plantCode = "1022",
-                    pvi = "",
+                    pvi = rfid,
                     workOrderNo = "",
                     workOrderType = "",
                     workshopCode = ""

--
Gitblit v1.9.3