啊鑫
2024-08-20 78552e2fb411f5a86abd31c24bece97af8edd110
MESApplication/Controllers/BasicData/MesItemsController.cs
@@ -1,4 +1,5 @@
using System.Dynamic;
using MES.Service.Dto.service;
using MES.Service.Dto.webApi;
using MES.Service.Modes;
using MES.Service.service;
@@ -21,6 +22,29 @@
    private readonly string TableName = "MES_ITEMS";
    private readonly string URL = "http://localhost:10054/api/MesItems/";
    //GetItemQcPrint
    [HttpPost("GetItemQcPrint")]
    public ResponseResult GetItemQcPrint(WarehouseQuery query)
    {
        try
        {
            dynamic resultInfos = new ExpandoObject();
            var save = m.GetItemQcPrint(query);
            resultInfos.tbBillList = save;
            return new ResponseResult
            {
                status = 0,
                message = "OK",
                data = resultInfos
            };
        }
        catch (Exception ex)
        {
            return ResponseResult.ResponseError(ex);
        }
    }
    [HttpPost("Save")]
    public ResponseResult Save(ErpItems unit)