11
啊鑫
7 天以前 b6b20da09e72e9e287b252348e7700641d9745e8
MESApplication/Controllers/QC/BaseController.cs
@@ -1,5 +1,6 @@
using System.Dynamic;
using MES.Service.Dto.service;
using MES.Service.Modes;
using MES.Service.service.QC;
using MES.Service.util;
using Microsoft.AspNetCore.Mvc;
@@ -81,4 +82,29 @@
            return ResponseResult.ResponseError(ex);
        }
    }
    // GetDabs(VDab queryObj)
    [HttpPost("getDabs")]
    public ResponseResult GetDabs(VDab queryObj)
    {
        try
        {
            dynamic resultInfos = new ExpandoObject();
            var tbBillList =
                new BaseService().GetDabs(queryObj);
            resultInfos.tbBillList = tbBillList;
            return new ResponseResult
            {
                status = 0,
                message = "OK",
                data = resultInfos
            };
        }
        catch (Exception ex)
        {
            return ResponseResult.ResponseError(ex);
        }
    }
}