11
wbc
2025-05-29 c846eaf61febfeba340213ee2d692182ea0ccb90
MESApplication/Controllers/QC/RKJController.cs
@@ -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);
        }
    }
    [HttpPost("GetRKDetail")]
    public ResponseResult GetRKDetail([FromBody] RKJDto xjDto)
    {
        try
        {
            dynamic resultInfos = new ExpandoObject();
            var tbBillList =
                new RKJService().GetRKDetail(xjDto);
            resultInfos.tbBillList = tbBillList;
            return new ResponseResult
            {
                status = 0,
                message = "OK",
                data = resultInfos
            };
        }
        catch (Exception ex)
        {
            return ResponseResult.ResponseError(ex);
        }
    }
}