zjh
2025-04-18 b646b9bee3991eb91fb916a290e5efb33eb5f68c
StandardPda/MESApplication/Controllers/QC/RKJController.cs
@@ -1,10 +1,10 @@
using System.Dynamic;
using MES.Service.Dto.service;
using MES.Service.Dto.service;
using MES.Service.Modes;
using MES.Service.service.QC;
using MES.Service.util;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
using System.Dynamic;
namespace MESApplication.Controllers.QC;
@@ -135,14 +135,15 @@
        try
        {
            dynamic resultInfos = new ExpandoObject();
            var tbBillList =
                new RKJService().getPage(queryObj);
            var (items, totalCount) = new RKJService().getPage(queryObj);
            var tbBillList = items;
            resultInfos.tbBillList = tbBillList;
            return new ResponseResult
            {
                status = 0,
                message = "OK",
                data = resultInfos
                data = resultInfos,
                TotalCount = totalCount
            };
        }
        catch (Exception ex)
@@ -364,4 +365,27 @@
            return ResponseResult.ResponseError(ex);
        }
    }
    //cleanReqResult
    [HttpPost("cleanReqResult")]
    public ResponseResult cleanReqResult([FromBody] RKJDto xjDto)
    {
        try
        {
            dynamic resultInfos = new ExpandoObject();
            var tbBillList =
                new RKJService().cleanReqResult(xjDto);
            resultInfos.tbBillList = tbBillList;
            return new ResponseResult
            {
                status = 0,
                message = "OK",
                data = resultInfos
            };
        }
        catch (Exception ex)
        {
            return ResponseResult.ResponseError(ex);
        }
    }
}