快乐的昕的电脑
2025-09-03 11750a157df699a29db1350da7599083b4a64374
Controllers/Warehouse/MesItemQtController.cs
@@ -11,7 +11,7 @@
/// </summary>
[Route("api/[controller]")]
[ApiController]
public class MesItemQtController : ControllerBase
public class MesItemQtController : BaseController
{
    private readonly MesItemQtManager _manager = new();
@@ -60,7 +60,7 @@
        try
        {
            dynamic resultInfos = new ExpandoObject();
            resultInfos.tbBillList = _manager.GetPendingQtList();
            resultInfos.tbBillList = _manager.GetPendingQtList(RequestInfo);
            return new ResponseResult
            {
                status = 0,
@@ -81,7 +81,7 @@
    /// <returns>待处理的退料单明细列表</returns>
    /// <remarks>
    ///     请求示例:
    ///     POST /api/MesItemQt/GetPendingQtList
    ///     POST /api/MesItemQt/GetPendingQtDetailList
    ///     {
    ///     "userName": "admin",      // 用户名(必填)
    ///     "billNo": "QT20240101001" // 退料单号(必填)
@@ -91,13 +91,12 @@
    /// <response code="200">成功获取退料单明细</response>
    /// <response code="400">获取失败,返回具体错误信息</response>
    [HttpPost("GetPendingQtDetailList")]
    public ResponseResult GetPendingQtDetailList(
        [FromBody] WarehouseQuery query)
    public ResponseResult GetPendingQtDetailList([FromBody] WarehouseQuery query)
    {
        try
        {
            dynamic resultInfos = new ExpandoObject();
            resultInfos.tbBillList = _manager.GetPendingQtList(query);
            resultInfos.tbBillList = _manager.GetPendingQtDetailList(query, RequestInfo);
            return new ResponseResult
            {
                status = 0,