刘磊
2026-01-17 f1d726e3de8f15cdfe30d4ca5fbba733d73a1e56
项目代码/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 = ""