Przeglądaj źródła

调整MES查询参数,增加wo字段返回

将MES查询URL参数p由"sn,message"修改为"message,sn,wo",以便接口返回时包含工单号(wo)信息,满足后续处理需求。
徐孝锋 6 miesięcy temu
rodzic
commit
12dc530c73
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      TeamAAS-VM/Services/MesService.cs

+ 1 - 1
TeamAAS-VM/Services/MesService.cs

@@ -184,7 +184,7 @@ namespace TeamAAS_VP.Services
                 return (false, "Missing MES station URL");
 
             string url = "";
-            url = $"{device.MesUrl}?c=QUERY_RECORD&line={device.Line}&station={device.Station}&fixtureid={device.FixtureId}&sn={sn}&p=sn,message";
+            url = $"{device.MesUrl}?c=QUERY_RECORD&line={device.Line}&station={device.Station}&fixtureid={device.FixtureId}&sn={sn}&p=message,sn,wo";
 
             LogHelper.WriteLogMes($"¡¾Ñ¯ÎÊURL¡¿{url}");
             SendTaskMessage($"¡¾Ñ¯ÎÊURL¡¿{url}", MessageLevel.Info);