From c53a461aef16902ca78cdb7bd0c62305e2fee809 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期二, 29 七月 2025 19:23:04 +0800 Subject: [PATCH] Update OQC search API functionality --- MESApplication/Controllers/QC/LljController.cs | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/MESApplication/Controllers/QC/LljController.cs b/MESApplication/Controllers/QC/LljController.cs index 19d5cb6..3b7009c 100644 --- a/MESApplication/Controllers/QC/LljController.cs +++ b/MESApplication/Controllers/QC/LljController.cs @@ -18,7 +18,7 @@ try { dynamic resultInfos = new ExpandoObject(); - (List<LtsLlj> item, int TotalCount) valueTuple = new LljService().GetPage(queryObj); + var valueTuple = new LljService().GetPage(queryObj); resultInfos.tbBillList = valueTuple.item; return new ResponseResult { @@ -38,14 +38,14 @@ [HttpPost("setJYItem")] public ResponseResult setJYItem([FromBody] JObject data) { - var itemNo = data["itemNo"].ToString(); + var itemId = data["itemId"].ToString(); var quantity = Convert.ToDecimal(data["quantity"].ToString()); var releaseNo = data["releaseNo"].ToString(); try { dynamic resultInfos = new ExpandoObject(); var tbBillList = - new LljService().SetItems(itemNo, quantity, releaseNo); + new LljService().SetItems(itemId, quantity, releaseNo); resultInfos.tbBillList = tbBillList; return new ResponseResult { @@ -135,7 +135,8 @@ [HttpPost("SetQSItemDetail")] - public ResponseResult SetQSItemDetail([FromBody] MesQaItemsDetectDetail12 detail) + public ResponseResult SetQSItemDetail( + [FromBody] MesQaItemsDetectDetail12 detail) { try { @@ -157,7 +158,8 @@ } [HttpPost("UpdateQSItemDetail")] - public ResponseResult UpdateQSItemDetail([FromBody] MesQaItemsDetectDetail12 detail) + public ResponseResult UpdateQSItemDetail( + [FromBody] MesQaItemsDetectDetail12 detail) { try { @@ -270,7 +272,7 @@ return ResponseResult.ResponseError(ex); } } - + [HttpPost("getSearchPage")] public ResponseResult getSearchPage([FromBody] XJPageResult queryObj) { -- Gitblit v1.9.3