111
啊鑫
2025-07-17 93473e2792e5d23a168e575f17190a5e51ad7c9f
MESApplication/Controllers/QC/BaseController.cs
@@ -82,6 +82,31 @@
        }
    }
    
    //getByOqcFid
    [HttpPost("getByOqcFid")]
    public ResponseResult getByOqcFid([FromBody] JObject data)
    {
        var id = Convert.ToInt32(data["fid"].ToString());
        var qsType = data["qsType"].ToString();
        try
        {
            dynamic resultInfos = new ExpandoObject();
            var tbBillList =
                new BaseService().getByOqcFid(id, qsType);
            resultInfos.tbBillList = tbBillList;
            return new ResponseResult
            {
                status = 0,
                message = "OK",
                data = resultInfos
            };
        }
        catch (Exception ex)
        {
            return ResponseResult.ResponseError(ex);
        }
    }
    /// <summary>
    ///     获取来料检单个检验单上传的所有图片
    /// </summary>