zjh
2025-03-13 0cff826ea489a1faa5cbb320cad52d102530a9e0
StandardPda/MESApplication/Controllers/QC/LljController.cs
@@ -273,4 +273,41 @@
            return ResponseResult.ResponseError(ex);
        }
    }
    //IqcQaSubmit
    [HttpPost("GetFileUrlByU9List")]
    public async Task<ResponseResult> GetFileUrlByU9List([FromBody] JObject data)
    {
        try
        {
            var type = data["type"]?.ToString();
            var itemID = data["u9No"]?.ToString();
            dynamic resultInfos = new ExpandoObject();
            var lljService = new LljService();
            var tbBillList = await lljService.GetFileUrlByU9List(type, itemID);
            if (tbBillList!=null)
            {
                return new ResponseResult
                {
                    status = 0,
                    message = "OK",
                    data = tbBillList
                };
            }
            else
            {
                return new ResponseResult
                {
                    status = 0,
                    message = "OK",
                    data = ""
                };
            }
        }
        catch (Exception ex)
        {
            return ResponseResult.ResponseError(ex);
        }
    }
}