From 93473e2792e5d23a168e575f17190a5e51ad7c9f Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期四, 17 七月 2025 09:55:58 +0800 Subject: [PATCH] 111 --- MESApplication/Controllers/QC/BaseController.cs | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/MESApplication/Controllers/QC/BaseController.cs b/MESApplication/Controllers/QC/BaseController.cs index dd54e7f..d2d4618 100644 --- a/MESApplication/Controllers/QC/BaseController.cs +++ b/MESApplication/Controllers/QC/BaseController.cs @@ -81,4 +81,58 @@ return ResponseResult.ResponseError(ex); } } + + //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> + /// <param name="data"></param> + /// <returns></returns> + [HttpPost("getLljAllImgByFid")] + public ResponseResult getLljAllImgByFid([FromBody] JObject data) + { + var id = data["id"].ToString(); + var qsType = data["qsType"].ToString(); + try + { + dynamic resultInfos = new ExpandoObject(); + var tbBillList = + new BaseService().getLljAllImgByFid(id, qsType); + resultInfos.tbBillList = tbBillList; + return new ResponseResult + { + status = 0, + message = "OK", + data = resultInfos + }; + } + catch (Exception ex) + { + return ResponseResult.ResponseError(ex); + } + } } \ No newline at end of file -- Gitblit v1.9.3