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/XJController.cs | 28 +++++++++++++++++++++++++--- 1 files changed, 25 insertions(+), 3 deletions(-) diff --git a/MESApplication/Controllers/QC/XJController.cs b/MESApplication/Controllers/QC/XJController.cs index 7f4a12c..8a776a5 100644 --- a/MESApplication/Controllers/QC/XJController.cs +++ b/MESApplication/Controllers/QC/XJController.cs @@ -159,10 +159,9 @@ [HttpPost("setJYItem")] public ResponseResult setJYItem([FromBody] JObject data) { - var itemId = Convert.ToDecimal(data["itemId"].ToString()); - + var itemId = Convert.ToDecimal(data["itemId"].ToString()); - + try { dynamic resultInfos = new ExpandoObject(); @@ -440,4 +439,27 @@ return ResponseResult.ResponseError(ex); } } + + + [HttpPost("XJQaSubmit")] + public ResponseResult XJQaSubmit([FromBody] QsItem item) + { + try + { + dynamic resultInfos = new ExpandoObject(); + var tbBillList = new XJService(); + var detail021 = tbBillList.XJQaSubmit(item); + resultInfos.tbBillList = detail021; + 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