fcx
2025-12-02 02893d929e7d2b650dc32ff14e6b12e6ca39dc75
StandardPda/MESApplication/Controllers/QC/BaseController.cs
@@ -139,4 +139,40 @@
            return ResponseResult.ResponseError(ex);
        }
    }
    /// <summary>
    ///     获取巡检检单个检验单上传的所有图片
    /// </summary>
    /// <param name="data"></param>
    /// <returns></returns>
    [HttpPost("getXjAllImgByFid")]
    public ResponseResult getXjAllImgByFid([FromBody] JObject data)
    {
        var id = int.Parse(data["id"].ToString());
        var qsType = data["qsType"].ToString();
        try
        {
            dynamic resultInfos = new ExpandoObject();
            var tbBillList =
                new BaseService().getXjAllImgByFid(id, qsType);
            resultInfos.tbBillList = tbBillList;
            return new ResponseResult
            {
                status = 0,
                message = "OK",
                data = resultInfos
            };
        }
        catch (Exception ex)
        {
            return ResponseResult.ResponseError(ex);
        }
    }
}