From e6e003e4ad00701b6cf40095e377237fb8da54c1 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期一, 07 七月 2025 15:29:17 +0800 Subject: [PATCH] 11 --- MESApplication/Controllers/QC/SJController.cs | 25 ++++++++++++++++++++++++- 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/MESApplication/Controllers/QC/SJController.cs b/MESApplication/Controllers/QC/SJController.cs index 3862406..ab77e77 100644 --- a/MESApplication/Controllers/QC/SJController.cs +++ b/MESApplication/Controllers/QC/SJController.cs @@ -63,7 +63,7 @@ public ResponseResult SetQSItems([FromBody] JObject data) { var itemNo = data["itemNo"].ToString(); - var lineNo = data["lineNo"].ToString(); + var lineNo = data["lineNo"]?.ToString(); try { dynamic resultInfos = new ExpandoObject(); @@ -320,4 +320,27 @@ return ResponseResult.ResponseError(ex); } } + + //QaSubmit + [HttpPost("qaSubmit")] + public ResponseResult qaSubmit([FromBody] LLJDto dto) + { + try + { + dynamic resultInfos = new ExpandoObject(); + var tbBillList = + new SJService().QaSubmit(dto); + 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