1
刘磊
2026-03-05 f45293a0c3c9838567d6ff01eae53157a9ed5284
ÏîÄ¿´úÂë/WMS/WMSServer/WIDESEA_WMSServer/Controllers/MES/MESController.cs
@@ -1,6 +1,7 @@
using AutoMapper.Configuration.Annotations;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using OfficeOpenXml.FormulaParsing.Excel.Functions.Math;
using WIDESEA_Core.BaseController;
using WIDESEA_DTO;
using WIDESEA_IStoragIntegrationServices;
@@ -26,9 +27,9 @@
    /// <param name="stationCode"></param>
    /// <returns></returns>
    [HttpPost, Route("PassPoint"), AllowAnonymous]
    public WebResponseContent PassPoint(string stationCode, string rfid)
    public WebResponseContent PassPoint([FromBody] RequestTaskDto json)
    {
        return _MESService.PassPoint(stationCode, rfid);
        return _MESService.PassPoint(json);
    }
    /// <summary>
@@ -81,9 +82,9 @@
    /// <param name="json"></param>
    /// <returns></returns>
    [HttpPost, Route("issuedCharacter"), AllowAnonymous]
    public WebResponseContent issuedCharacter(string rfidPrint, string vin, string station,string palletCode)
    public WebResponseContent issuedCharacter(string rfidPrint, string station, string palletCode)
    {
        return _MESService.issuedCharacter(rfidPrint, vin, station, palletCode);
        return _MESService.issuedCharacter(rfidPrint, station, palletCode);
    }
    /// <summary>
@@ -92,11 +93,12 @@
    /// <param name="json"></param>
    /// <returns></returns>
    [HttpPost, Route("getCharacteristic"), AllowAnonymous]
    public WebResponseContent getCharacteristic(string station, string rfid)
    public WebResponseContent getCharacteristic([FromBody] RequestTaskDto json)
    {
        return _MESService.getCharacteristic(station, rfid);
        return _MESService.getCharacteristic(json);
    }
    static object lockInfo = new object();
    /// <summary>
    /// MES拉动锁车
    /// </summary>
@@ -105,7 +107,10 @@
    [HttpPost, Route("order/pullLock"), AllowAnonymous]
    public WebResponseContent pullLock([FromBody] object json)
    {
        return _MESService.pullLock(json);
        lock (lockInfo)
        {
            return _MESService.pullLock(json);
        }
    }
    /// <summary>
@@ -120,7 +125,7 @@
    }
    /// <summary>
    /// ç›´é€šæ¶‚装绑定工单
    ///  è½¦èº«ç»‘定工单  ç„Š-涂、涂-总工单绑定
    /// </summary>
    /// <param name="stationCode"></param>
    /// <returns></returns>