zyf
2025-08-22 90e42f99c2b3a4b8226e9a6951c2b7b9a968df10
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);
        }
    }
}